- 1
What is wrong with this code
I was making code and it said my code was wrong https://code.sololearn.com/WiTcl31F4Z95/?ref=app
6 Respuestas
+ 4
Madison Lee I guess this is your code:
https://code.sololearn.com/c4Bi5BQWahdR/?ref=app
If so, the error is because "put in your first number" is a string, so it should be wrapped in double quotes " "
print("put in your first number")
input()
+ 2
Madison Lee there doesn't seem to be anything wrong with the code, and it doesn't belong to you. Make sure you post the right code as Utkarsh Sharma said.
+ 2
That code linked is not yours. Either change the link to point to your code, or you may be reported for claiming authorship of other people's code.
And please tag something relevant, how 'ok' was in any way relevant to your question, Idk.
+ 1
Did you share the right code?
+ 1
Madison Lee I've commented the error and how to fix it on that code.
Aymane Boukrouh has provided right answer.
0
nothing