2021-03-11 13:05:21 +03:00
|
|
|
print(*[1,2,3],*['test',object],7,9,10,end=';\n',**{'sep':', '})
|
2021-01-10 12:49:52 +03:00
|
|
|
|
|
|
|
let l = [1,2,3]
|
|
|
|
let d = {'sep': ', '}
|
|
|
|
|
|
|
|
print("a","b",*l,7,*l,end='test\n',**d)
|
|
|
|
|
|
|
|
print("{a} {b} {c}".format(**{'a': 1, 'b': "apples", 'c': object}))
|
|
|
|
|
|
|
|
try:
|
|
|
|
print("{a} {b} {c}".format(a=True,**{'a': 1, 'b': "apples", 'c': object}))
|
2023-11-25 05:11:56 +03:00
|
|
|
except as exception:
|
2021-01-10 12:49:52 +03:00
|
|
|
print(exception.arg)
|