Wrong answer in Python challenge? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Wrong answer in Python challenge?

Hey! In a Python challenge, I got the question : What is the output of this code? a="1234 - 123" print(a.isdecimal()) True or False By answering False I got the wrong answer. I tried it in the following code: https://code.sololearn.com/cm4sBY79yN1E/?ref=app And my code output is False. Do you know why my answer was wrong? Thanks

3rd Feb 2020, 3:00 PM
Mickaël TREZZY
Mickaël TREZZY - avatar
2 Answers
+ 6
I remember it being False. Try that question again.
3rd Feb 2020, 3:29 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
Unfortunately it was a challenge against someone that I could win if the question wasn't wrong. Nevermind I reported the answer as wrong. Thanks for your feedback!
3rd Feb 2020, 3:35 PM
Mickaël TREZZY
Mickaël TREZZY - avatar