0

Please explain this error

I am new to python, and I just made my first code in an attempt to answer the spy number challenge. I don't understand the error it is outputing https://code.sololearn.com/cQ81mRpKlBfy/?ref=app

19th May 2018, 12:47 AM
Brayden Parker
Brayden Parker - avatar
6 Respostas
+ 5
You have a string num and you're attempt to perform math with it. Change line 1 to: num = int(input("Input: ")) to fix that issue.
19th May 2018, 12:51 AM
John Wells
John Wells - avatar
+ 2
where is the code?
19th May 2018, 12:47 AM
Virdio Samuel
Virdio Samuel - avatar
+ 1
in the bottom of the question
19th May 2018, 12:48 AM
Brayden Parker
Brayden Parker - avatar
+ 1
oh yeah😅😅
19th May 2018, 12:48 AM
Virdio Samuel
Virdio Samuel - avatar
+ 1
it's fine, I forgot to upload it with the q&a at first anyway...
19th May 2018, 12:49 AM
Brayden Parker
Brayden Parker - avatar
+ 1
oh, thanks!
19th May 2018, 12:51 AM
Brayden Parker
Brayden Parker - avatar