Python - Challenge
Code Life
By Pierre Marsaa
Gym Challenge - Badge Check
Before challenging a gym, you need to verify your progress.
Create a program that checks how many badges you have:
- If badges < 8: "You're not done yet, next gym to challenge: [badge + 1]"
- Elif badges == 8: "Congratulations! You have all badges. Ready for the Elite Three!"
- Otherwise: "Invalid badge count."
Finally, print: "Good luck, trainer!"
↗️
Loading editor...
↶
↷
💡 Show Solution
Continue