Guest User

Untitled

a guest
Apr 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. def DDsquare(lst):
  2. local_list = lst[0:len(lst)]
  3. for i in range(len(local_list)):
  4. local_list[i]= local_list[i] *local_list[i]
  5. return local_list
  6. a = DDsquare([1,3,5,7])
  7. print(a)
Add Comment
Please, Sign In to add comment