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

6th Dec 2017, 8:18 AM
Paul
Paul - avatar
6 Respuestas
+ 2
Re-input is not supported in python here You can try it in python shell
6th Dec 2017, 8:23 AM
#RahulVerma
#RahulVerma - avatar
+ 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!
6th Dec 2017, 8:24 AM
Paul
Paul - avatar
+ 1
awesome James! thank you!
7th Dec 2017, 1:29 AM
Paul
Paul - avatar
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"
6th Dec 2017, 10:59 PM
Paul
Paul - avatar