Advertisement
Guest User

Lab 1

a guest
Mar 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. def triple(n):
  2. #find 3 times n
  3. return
  4.  
  5. def divide(x,y):
  6. #find x divided by y
  7. return
  8.  
  9. def plusfourteen(x):
  10. #find fourteen plus x
  11. return
  12.  
  13. def getnumber(i):
  14. #if i is even, find two times i
  15. #if i is odd and less than 20, find i plus fourteen
  16. #for all other cases, just return i
  17. if :
  18. return
  19. elif :
  20. return
  21. else:
  22. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement