0
Python Input goes wrong on SoloLearn?
Hey sololearners Iām a beginner and I have just written a random code for asking an user to enter a number to convert from degree Celsius to Fahrenheit and vise versa but it seems that the display of the input is not working on SoloLearn. Any experience on that?
4 Answers
+ 6
Your code works fine for me. Remember in the SoloLearn playground ALL of your inputs must be entered at the same time.
I.E.
1
20
yes
2
98
no
+ 6
You can just append the .lower() method to input()
input().lower()
this will make the users input lower case so, Yes, yEs, YES, etc will all be changed to yes.
+ 2
Oh thank you so much
0
Oh ok thank you
Do you know how to ignore the case of āyesā or ā noā
Because if the user enter YES instead of yes, the program will end
Thank you again