Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge | Variables in Python
Python Tutorial for Beginners
course content

Kurssisisältö

Python Tutorial for Beginners

Python Tutorial for Beginners

1. Introduction to Programming
2. Variables in Python
3. Comments
4. If...Else Statement

book
Challenge

Tehtävä

Swipe to start coding

Let's complicate the task. Now you need to create 3 variables, namely:

  1. color, give this variable your favourite color.
  2. dish, assign your favorite dish to this variable.
  3. language, assign your language you speak to this variable.

Remember, your variables must be strings(for it you have to use quotes!). After implementing this part, you have to fill the blanks in the displaying results part.

Let's try:)

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 2. Luku 2
toggle bottom row

book
Challenge

Tehtävä

Swipe to start coding

Let's complicate the task. Now you need to create 3 variables, namely:

  1. color, give this variable your favourite color.
  2. dish, assign your favorite dish to this variable.
  3. language, assign your language you speak to this variable.

Remember, your variables must be strings(for it you have to use quotes!). After implementing this part, you have to fill the blanks in the displaying results part.

Let's try:)

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 2. Luku 2
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