Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list1 = []
- def lists(a, b, c, d):
- i = 0
- for i in range a:
- list1.append(i)
- print(lists(5, 12, 3, 20))
- # ([0, 2, 3, 4, 5, 20], [10, 11, 13, 14, 'KSI', 0, 1, 2], [2, 1, 0])
- print(lists(10, 3, 2, 11))
- # Not here
- # ([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