- 1

What do i fo to make it give me an option to enter my username after it askes me for it?

I started to make my first mini game in Python and when i try to run the cide that I've written it wont let me enter my username https://code.sololearn.com/crOkTs5gCrRU/?ref=app

30th Dec 2017, 11:56 PM
Ognjen Stevanovic
Ognjen Stevanovic - avatar
3 Réponses
0
Actually, I tried to run your code, there’s nothing wrong with it though I don’t get it why you used the random module. I noticed that you use virtualenv so have you tried to activate it ?
31st Dec 2017, 1:43 AM
monotom
monotom - avatar
0
The random module is there because I whant a random number to be generated later on in the game,i fihured out what I wanted though,thank you anyway!
31st Dec 2017, 10:10 AM
Ognjen Stevanovic
Ognjen Stevanovic - avatar
0
Your welcome.😉
31st Dec 2017, 10:11 AM
monotom
monotom - avatar