0
I’m new in coding and I need help
Why Is the code doing this answer and not the one I want ? https://code.sololearn.com/c0LGvVojEBrJ/?ref=app
2 Réponses
+ 2
Before input, you need to include
int(input(“Your text: “))
Python doesn’t evaluate the data type being inputted (it usually assumes you are inputting a string). So you need to manually convert an input to int.
+ 2
int(input())