0
Please help with the debugging of the code
I would like to take an integer as an input. Check whether it's even and in the range [2,5] and if both of these conditions satisfy then I would like to print "Not Weird" otherwise print "Weird" . Where am I going wrong ? https://code.sololearn.com/cDu0X9H3cU2u/?ref=app https://code.sololearn.com/cDu0X9H3cU2u/?ref=app
1 Réponse
+ 5
It's
n = int(input())
and not
n = input(int())
You can write some message in it on this place instead:
n = int(input("Enter an integer number between 2 and 5:"))