cs/stuff/loops/num4.py

8 lines
128 B
Python
Raw Normal View History

2022-12-13 11:38:55 -05:00
a = int(input("Enter a number: "))
b = a * 5
c = b % 2
if (c != 0):
print("Not divisible by 5")
else:
print("Divisible by 5")