Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def info(val = [1,2,3]):
- for num in range(len(val)):
- val[num] += 1;
- return list(val)
- print(info())
- print(info())
- print(info())
- def info1(val1 = 1):
- val1 += 1;
- return val1
- print(info1())
- print(info1())
- print(info1())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement