+ 4

please tell me what's wrong with this code

https://code.sololearn.com/c6XGLd66ml0P/?ref=app

7th Sep 2019, 8:17 AM
sujay simha
sujay simha - avatar
2 Respostas
+ 2
Every time you do random.choice(list)) the computer picks a new random choice. You should do something like a = random.choice(list)) at the start of tour program. And use a in the rest of the program.
7th Sep 2019, 10:31 AM
Paul
Paul - avatar
+ 4
thanks a lot Paul Jacobs
7th Sep 2019, 10:57 AM
sujay simha
sujay simha - avatar