+ 1
I don't know why this code won't work
I want it so if they choose a letter, then it will perform a task. The error that is coming up is: Traceback (most recent call last): File "./Playground/file0.py", line 1, in <module> number=int(input) TypeError: int() argument must be a string, a bytes-like object or a number, not 'builtin_function_or_method' I don't really get what this means, here is my code https://www.sololearn.com/en/compiler-playground/cntCm2GcKQHR
2 Respuestas
+ 3
If that is the code as seen, you did not pass the input() instruction into the int() instruction correctly. its should be:
number = int(input())
also, ensure you seperate your input on seperate lines,
5
a
then click submit
0
Thanks, i just missed that out i think XD