Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. # Question 14 HINT
  2.  
  3. #define a list
  4. lst = []
  5.  
  6. for x in range(1, 11):
  7.     y = str(x)
  8.     lst.append(y)
  9. # before giving the answer, for you only, you can check how the result of the LIST looks like
  10. print lst
  11. # find result and see the difference vs. above version
  12. print ",".join(lst)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement