Advertisement
Mancolo

Untitled

Sep 30th, 2020
744
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = float(input("n = "))
  2. if a % 2 == 0 and a % 4 ==0:
  3.     print("кратно 4, четное")
  4. elif a % 2 ==0:
  5.     print ("не кратоное 4, четное")
  6. else:
  7.     print("Не кратоное 4, нечетное")
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement