SHARE
TWEET

Lab 1

a guest Mar 25th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top