Challenge: Mario
Let's play! We're playing Mario, and he encounters a block obstacle. Mario can overcome this obstacle by transforming into Super Mario, which grants him increased size and power. To achieve this, he needs to obtain the Super Mushroom.
Swipe to start coding
You should write two scenarios: one where Mario has a Super Mushroom and another where he does not.
- Write the keyword
ifto complete the first condition; - Show the outcome
ifthe first condition holds true using theprintfunction; - Complete the second statement with variable
has_super_mushroom.
Great job! Keep up your journey, Super Mario!
Ratkaisu
Kiitos palautteestasi!
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Tiivistä tämä luku
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 5.88
Challenge: Mario
Pyyhkäise näyttääksesi valikon
Let's play! We're playing Mario, and he encounters a block obstacle. Mario can overcome this obstacle by transforming into Super Mario, which grants him increased size and power. To achieve this, he needs to obtain the Super Mushroom.
Swipe to start coding
You should write two scenarios: one where Mario has a Super Mushroom and another where he does not.
- Write the keyword
ifto complete the first condition; - Show the outcome
ifthe first condition holds true using theprintfunction; - Complete the second statement with variable
has_super_mushroom.
Great job! Keep up your journey, Super Mario!
Ratkaisu
Kiitos palautteestasi!
single