GUVI
Back

output error

Created 2 years ago
22 Views
1 Comments
SaravananY5A8zv
@SaravananY5A8zv
SaravananY5A8zv
@SaravananY5A8zvProfile is locked. Login

input_of_month = int(input())

if input_of_month==2:

print(28)

elif input_of_month==int(1 or 3 or 5 or 7 or 9 or 11):

print(31)

elif input_of_month==int(4 or 6 or 8 or 10 or 12):

print(30)

else:

print("error")

if input is 6 expected output is 30 but actual output is error

Comments
Please login to comment.
 
Powered by habitate.io Habitate