- 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

23rd Feb 2020, 4:06 AM
Madison Lee
Madison Lee - avatar
6 Respostas
+ 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()
23rd Feb 2020, 4:16 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 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.
23rd Feb 2020, 4:13 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 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.
23rd Feb 2020, 4:16 AM
Ipang
+ 1
Did you share the right code?
23rd Feb 2020, 4:09 AM
Utkarsh Sharma
Utkarsh Sharma - avatar
+ 1
Madison Lee I've commented the error and how to fix it on that code. Aymane Boukrouh has provided right answer.
23rd Feb 2020, 4:23 AM
Utkarsh Sharma
Utkarsh Sharma - avatar
0
nothing
23rd Feb 2020, 4:07 AM
Madison Lee
Madison Lee - avatar