Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. def highscores():
  2. score = int(a[0])
  3. best = [0,0,0]
  4. for i in range(1):
  5. if score > best[0]:
  6. best[2] = best[1]
  7. best[1] = best[0]
  8. best[0] = score
  9. break
  10. elif score > best[1]:
  11. best[2] = best[1]
  12. best[1] = score
  13. elif score > best[2]:
  14. best[2] = score
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement