0

Roulette strategy

Hi, i still Need help With my Roulette strategy Code in Python. Now it is in english so maybe someone Can help me? https://code.sololearn.com/cN871sJvQVa9/?ref=app

2nd Jul 2018, 10:53 AM
Daniel
Daniel - avatar
3 Antworten
+ 3
the code works, but only sometimes as if one's chips increase too mutch, the time limit of SL's compiler will be exceeded.
2nd Jul 2018, 12:06 PM
hinanawi
hinanawi - avatar
+ 1
Nice game! Hint: your loop does not return true.
2nd Jul 2018, 1:02 PM
Qwertiony
Qwertiony - avatar
0
hinanawi thanks for testing the code. at the moment the game always says at the end that you don‘t have enough chips and you lost even if you reach your goal. if you reach your goal it should say something like „good job“. how can i return different output from the while loop?
2nd Jul 2018, 12:27 PM
Daniel
Daniel - avatar