- 1
Hi, someone can say to me why my test code doesnt work?
(I apologize if my english is bad) Hi, im learning python and i made a basic code for testing what i learned, but it doesnt work, can someone say to me why it dont work? https://code.sololearn.com/cjFg8AZgs2FT/?ref=app
3 Antworten
+ 5
Convert the result of input("Number") to int and not int("Number")
a=int(input('Number')) #here was the error
if a > 10:
print('That number is greater than 10')
if a < 10:
print('That number is minor than 10')
+ 5
Happy to help 😉
+ 1
Thanks you!