kkalog

Untitled

Jul 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. def print_tuple():
  2.     list1 = list()
  3.     for i in range(1,21):
  4.       list1.append(i**2)
  5.     print list1
  6.     print tuple(list1)
  7.  
  8. print_tuple()
Advertisement
Add Comment
Please, Sign In to add comment