daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Nov 17th, 2017 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if zone =< 2 and ticketType = "adult":
  2.           fare += 23
  3.      elif zone =< 2 and ticketType = "child":
  4.           fare += 11.5
  5.      elif zone == 3 and ticketType = "adult":
  6.           fare += 34.5
  7.      elif zone == 3 or 4 and ticketType = "child":
  8.           fare == 23
  9.      elif zone == 4 and ticketType = "adult":
  10.           fare += 46
  11.      elif zone => 4:
  12.           fare == -zone
  13.  
  14.      return(fare)
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top