0
My first coding problem!
Trying to make a game that returns a die roll and asks user if they want to roll again. Having trouble getting input used in function. Please help! https://code.sololearn.com/cxKq2f6av383/?ref=app
6 Answers
+ 2
Re-input is not supported in python here
You can try it in python shell
+ 1
Thank you! I was wondering if that was it. I'm just goofing off on my phone. I'll plug it in when I get home. Thanks again!
+ 1
awesome James! thank you!
0
I've made quite a few changes. I feel like I'm almost there. Something is definitely wrong with my while loop. Any help is greatly appreciated!
https://code.sololearn.com/cg7fvrOYpvyM/#py
Output for:
Would you... yes or no: yes
Would you... roll again: yes
random int(1-6)
None
Output for:
Would you... yes or no: yes
Would you... roll again: no
random int(1-6)
None
Output for:
Would you... yes or no: no
Would you... roll again: yes
infinite "bye bye"
Output for:
Would you... yes or no: no
Would you... roll again: no
infinite "bye bye"