2nd Feb 2018, 11:49 AM
Raphael Shay
Raphael Shay - avatar
4 odpowiedzi
+ 5
You can also only change input to int(input()) and delete x = i.lower() and change str(x) to i.
2nd Feb 2018, 12:24 PM
Ferhat Sevim
Ferhat Sevim - avatar
+ 3
Sorry, I'm pretty new to Python and coding in general.. what string to I need to make an integer?
2nd Feb 2018, 11:58 AM
Raphael Shay
Raphael Shay - avatar
+ 2
first line 5 should be x=i.lower() than in if and elif statements int(x) % 2 == 0
2nd Feb 2018, 12:26 PM
Kuba H
Kuba H - avatar
+ 1
What do I need to change then?
2nd Feb 2018, 11:54 AM
Raphael Shay
Raphael Shay - avatar