Share your repls and programming experiences

← Back to all posts
Guess The Number
SilvermoonCat (430)

I posted this before, but @fluffykitty421 (thanks) helped me fixed a small error so this is the current game. Sorry if there are additional line spacings it’s different on Computer and iPad I think

Have fun!

Comments
hotnewtop
SilvermoonCat (430)

I couldn’t fix it so I had to just remove that part, does it work now
@RhinoRunner @JacobMcPherson1

fluffykitty421 (2)

hi, on line 269 just change input("Your guess: ") to int(input("Your guess: "))

that's all :)

SilvermoonCat (430)

thanks @fluffykitty421 but I’m not working on this anymore :’) not really , anyway heh

RhinoRunner (841)
Traceback (most recent call last):
  File "main.py", line 269, in <module>
    guess1 = int(input("Your guess (between",fnum,"and", snum +"): "))
TypeError: unsupported operand type(s) for +: 'int' and 'str'