daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Nov 17th, 2017 106 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
Pastebin PRO CHRISTMAS Special!
Get 60% OFF on Pastebin PRO accounts!
Top