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!
Solution
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 5.88
Challenge: Mario
Glissez pour afficher le menu
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!
Solution
Merci pour vos commentaires !
single