Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære The Very First Steps in Python | First Acquaintance with Python
Introduction to Python (dev copy)

Sveip for å vise menyen

book
The Very First Steps in Python

Programming is the process of giving instructions to a computer to perform tasks, and Python is a popular language known for its simplicity and versatility. Let’s explore what makes Python unique.

Python is a high-level, interpreted programming language. High-level languages use abstract syntax that is easy for humans to understand but cannot be directly interpreted by machines.

Let's dive in and print your first message using Python. Use the print() function for this. When you want to print specific text, just wrap it in quotation marks, like "..." or '...'. If you don't, Python will assume you're referring to a variable.

1
print("Some message")
copy
Oppgave

Swipe to start coding

  1. Print "Hello world!" in the console.
  2. Use the print statement.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 1

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

book
The Very First Steps in Python

Programming is the process of giving instructions to a computer to perform tasks, and Python is a popular language known for its simplicity and versatility. Let’s explore what makes Python unique.

Python is a high-level, interpreted programming language. High-level languages use abstract syntax that is easy for humans to understand but cannot be directly interpreted by machines.

Let's dive in and print your first message using Python. Use the print() function for this. When you want to print specific text, just wrap it in quotation marks, like "..." or '...'. If you don't, Python will assume you're referring to a variable.

1
print("Some message")
copy
Oppgave

Swipe to start coding

  1. Print "Hello world!" in the console.
  2. Use the print statement.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 1
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt