Guest User

Untitled

a guest
Jun 5th, 2010
135
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def pretty_print(lis):
  2.     print "-".join(map(str, lis))
  3.  
  4. for i in range(2,10):
  5.     pretty_print(range(1, i) if i % 2 else range(i-1, 0, -1))
RAW Paste Data