Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def triple(n):
- #find 3 times n
- return
- def divide(x,y):
- #find x divided by y
- return
- def plusfourteen(x):
- #find fourteen plus x
- return
- def getnumber(i):
- #if i is even, find two times i
- #if i is odd and less than 20, find i plus fourteen
- #for all other cases, just return i
- if :
- return
- elif :
- return
- else:
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement