Guest User

Untitled

a guest
Apr 24th, 2013
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 20.40 KB | None | 0 0
  1. ##################################
  2. ##
  3. ##  Jordi W. Hoock Castro
  4. ##  www.twitter.com/JWHC_
  5. ##
  6. ##  Bubble Sort Algorithm. (at least a try)
  7. ##
  8. #################################
  9. '\nNumeros ordenados correctamente.\n')
  10.     print(numbers)
  11.     print('\nIteraciones: '+str(it))
  12.     print('Numeros ordenadors: '+str(len(numbers)))
  13.     print('Tiempo de ejecucion: '+str( round(time.time()-time_start, 5 ) ) +str('\n'))
  14.  
  15.  
  16. bubbleSort(numbers)
Advertisement
Add Comment
Please, Sign In to add comment