Guest User

Untitled

a guest
Oct 17th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. import time
  2. A = [10,9,8,7,6,5,4,3,2,1]
  3. def sortTime(A):
  4. t = time.time()
  5. A.sort(reverse=False)
  6. t = time.time()-t
  7. return t
  8. print(sortTime(A))
  9. print A
Add Comment
Please, Sign In to add comment