Advertisement
ancestor_tunji

#divisible_by_three_and_four_function

Feb 11th, 2020
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. #divisible_by_three_and_four_function
  2. def divisible_by_three_and_four_function(a):
  3.     if int(a) % 4 == 0 and int(a) % 3 == 0:
  4.         print("true")
  5.     else:
  6.         print("False")
  7. divisible_by_three_and_four_function(3)
  8. divisible_by_three_and_four_function(4)
  9. divisible_by_three_and_four_function(12)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement