Advertisement
Guest User

Untitled

a guest
May 28th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32
  2. Type "copyright", "credits" or "license()" for more information.
  3. >>> ================================ RESTART ================================
  4. >>>
  5.  
  6. Start Testing!
  7.  
  8. length Test
  9. List length: 7
  10. List length: 0
  11.  
  12. to_string Test
  13. List is: ringing
  14. List is: ringing
  15. List is:
  16.  
  17. count Test
  18. In function count()
  19. None
  20. In function count()
  21. None
  22. In function count()
  23. None
  24.  
  25. find Test
  26. In function find()
  27. None
  28. In function find()
  29. None
  30.  
  31. starts_with Test
  32. In function starts_with()
  33. None
  34. In function starts_with()
  35. None
  36. In function starts_with()
  37. None
  38.  
  39. remove_value Test
  40. In function remove_value()
  41. None
  42. In function remove_value()
  43. None
  44.  
  45. insert Test
  46. In function insert()
  47. None
  48. In function insert()
  49. None
  50. In function insert()
  51. None
  52.  
  53. reverse Test
  54. In function reverse()
  55. None
  56. In function reverse()
  57. None
  58. In function reverse()
  59. None
  60.  
  61. ----------
  62.  
  63. length Test
  64. List length: 6
  65.  
  66. to_string Test
  67. List is: Traceback (most recent call last):
  68. File "C:\Python34\works\Assignment 2\part 1\assign2_partI_test_file.py", line 83, in <module>
  69. print(list_function.to_string(num_list1))
  70. File "C:\Python34\works\Assignment 2\part 1\list_function.py", line 44, in to_string
  71. string += (my_list[element])
  72. TypeError: Can't convert 'int' object to str implicitly
  73. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement