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

Swipe to show menu

book
Challenge

Task

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:)

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 2
We're sorry to hear that something went wrong. What happened?

Ask AI

expand
ChatGPT

Ask anything or try one of the suggested questions to begin our chat

book
Challenge

Task

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:)

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 2
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt