Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanBaird authored Jun 10, 2022
1 parent a430c98 commit 1a7e7a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Is_n_ divisible_ by_ x_ and_ y_kyu8.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# if statement the checks if the remainder of n divided by x and n divided by y is zero and returns True if so

def is_divisible(n,x,y):
if n % x == 0 and n % y == 0:
return True
else:
return False

0 comments on commit 1a7e7a5

Please sign in to comment.