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)
course content

Kursusindhold

Introduction to Python (dev copy)

Introduction to Python (dev copy)

1. First Acquaintance with Python
2. Variables and Types in Python
3. Conditional Statements in Python
4. Other Data Types in Python
5. Loops in Python
6. Functions in Python

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
Opgave

Swipe to start coding

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

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 1
toggle bottom row

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
Opgave

Swipe to start coding

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

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 1
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt