Advertisement
Guest User

Untitled

a guest
May 28th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # Function to_string() - place your own comments here... : )
  2. def to_string(my_list, sep=', '):
  3.  
  4. # This line will eventually be removed - used for development purposes only.
  5. #print("In function to_string()")
  6. string = ""
  7. print("List is: ", end ="")
  8.  
  9. # Place your code here
  10. for element in range(len(my_list)):
  11. string += (my_list[element])
  12.  
  13. return string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement