+ 1
Need help with last 2 lines
#dice game random 1-6 import random for i in range(1): Value=random.randint(1,6) print(Value) if (value) == (6): print ("you win") https://code.sololearn.com/cz5BXFmBAl3J/?ref=app
3 ответов
+ 4
Python is case sensitive, Value and value are not the same. Change first letter of Value to lowercase in your code and it will work.
0
Correct the variable name.
Change 'value' to 'Value' (capital V) in if condition .
0
yea me still hafe asleep
big brain Moment
thanks you 2