RounakSarak / GameVerse

Contains multiple games in diffrerent languages
0 stars 0 forks source link

main.py (Guess the number) gives error #6

Closed RounakSarak closed 1 month ago

RounakSarak commented 1 month ago

It gives error when enter is given as input

SnappingComet28 commented 1 month ago

please share a snippet of the error

RounakSarak commented 1 month ago

I cant send it now but I will for sure

SnappingComet28 commented 1 month ago

is it this: Traceback (most recent call last): File "g:\python\GameVerse\Guess The Number\main.py", line 13, in
userNum = int(input("I guess the number is : ")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''

RounakSarak commented 1 month ago

Yes