Challenge
Compito
Swipe to start coding
Let's complicate the task. Now you need to create 3 variables, namely:
color
, give this variable your favourite color.dish
, assign your favorite dish to this variable.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:)
Soluzione
9
1
2
3
4
5
6
7
8
color = "pink"
dish = "french fries"
language = "English"
# Displaying results
print("My favourite color is", color)
print("My favourite dish is" , dish)
print("I speak", language)
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 2
9
1
2
3
4
5
6
7
color =
dish =
language =
#displaying results
print("My favourite color is", ___)
print("My favourite dish is" , ___)
print("I speak", ___)
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione