hdarwin

cstutoringcenter.com_Elevator Directions

Jan 7th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.08 KB | None | 0 0
  1. floor = 1
  2. for x in open("elevator.txt", "r"):
  3.     floor += int(x)
  4. print floor
Advertisement
Add Comment
Please, Sign In to add comment