Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele The Very First Steps in Python | First Acquaintance with Python
Introduction to Python(ihor)
course content

Kurssisisältö

Introduction to Python(ihor)

Introduction to Python(ihor)

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.

Let's get started by printing your first message in Python! To do this, use the print() function. When printing specific text, wrap it in quotation marks, either "..." or '...'.

1
print("Some message")
copy

You can also add more text by using a comma to separate different parts within the print() function. The function automatically adds a space between the arguments. Try experimenting with different messages to see how it works.

Tehtävä

Swipe to start coding

Print "Hello world!" in the console using the print statement.

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

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 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.

Let's get started by printing your first message in Python! To do this, use the print() function. When printing specific text, wrap it in quotation marks, either "..." or '...'.

1
print("Some message")
copy

You can also add more text by using a comma to separate different parts within the print() function. The function automatically adds a space between the arguments. Try experimenting with different messages to see how it works.

Tehtävä

Swipe to start coding

Print "Hello world!" in the console using the print statement.

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

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 1
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt