name = int(input("enter your name :"))
ValueError: invalid literal for int() with base 10: ‘amir’
The contact’s name is Amir, but I’m having trouble.
what is the problem ?
I was practicing python for a program when I encountered this error. What is the cause? I practiced a lot to solve it, but I couldn’t.
New contributor
amir mohamad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1