Newbie making mistakes | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Newbie making mistakes

Soo, I made a code for an example of selecting a hero, and my print code is making a syntax error. btw Is my code clean? https://code.sololearn.com/cHdI9pA57XVZ/?ref=app

13th Sep 2020, 4:55 AM
Andrew
2 Respostas
+ 2
There's a few things wrong or different. Check this out. It's your code, just edited. https://code.sololearn.com/cBH3d75t1kcx/?ref=app
13th Sep 2020, 5:06 AM
Slick
Slick - avatar
+ 1
Thanks! When I first read the notification, I thought it said you answered: ā€œYou slick answered your own question.ā€ I havenā€™t gotten to the user input part of the python code, so thanks for teaching me something new! I wanted to actually try to use and make code at least everyday, but i didnā€™t really want to do that until it taught me user input. But anyway, Thanks!
13th Sep 2020, 5:36 AM
Andrew