29th Apr 2022, 4:21 PM
Kaushik
Kaushik - avatar
2 Answers
+ 3
Kaushik , there are some issues to solve: ( please try to solve the code for *single* number, so make the rest a comment) - in general: there is no need to use triple quotes for strings, just use single or double quotes - 2nd line has an indentation, remove it - we need 2 inputs: - the question for *set* of numbers or a *single* number => this input has to be text - the number we should test for odd or even => this input has to be an integer number - test and modify as long as you get error messages then continue with the code for a range of numbers. happy coding!
29th Apr 2022, 5:05 PM
Lothar
Lothar - avatar
0
You have one line 2 a wrong indent. And missing closing brackets on line 11, 14 and 16.
29th Apr 2022, 5:04 PM
Stefanoo
Stefanoo - avatar