+ 7
Why does this program not working (python)
I made this as my first program in python but it does not working please help me https://code.sololearn.com/c1XXe81yo036/?ref=app
3 Respuestas
+ 9
because when you define n using input(), its default type is a string.
to solve that, just wrap the input in the int() function
like this:
n = int(input())
+ 6
no problem
+ 5
Thnks