Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. distance = float(4) #assigning the miles
  2. speed = float(25)
  3. #s/d/t is the equation#
  4.  
  5. timeNObreaks = distance / speed
  6.  
  7. breaktime = float(20)
  8.  
  9. timeWITHbreaks = timeNObreaks + breaktime
  10.  
  11. print("You will take " + str(timeWITHbreaks) + "minutes to get there")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement