+ 1
Here...idk why but even if i enter the correct number...it prints 'wrongly guessed'
3 odpowiedzi
+ 3
inpt = int(input())
+ 1
Yea..it worked...but y did putting 'int' made the diffrence
0
random.randint returns an int, so input should be an int.
‘6’ == 6
str == int
isnt the same as
6 == 6
int == int