Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. list1 = []
  2. def lists(a, b, c, d):
  3. i = 0
  4. for i in range a:
  5. list1.append(i)
  6.  
  7.  
  8. print(lists(5, 12, 3, 20))
  9. # ([0, 2, 3, 4, 5, 20], [10, 11, 13, 14, 'KSI', 0, 1, 2], [2, 1, 0])
  10. print(lists(10, 3, 2, 11))
  11. # Not here
  12. # ([0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 'KSI', 0, 1], [1, 0])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement