You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
497 B
27 lines
497 B
print(','.join(()))
|
|
print(','.join(('a',)))
|
|
print(','.join(('a', 'b')))
|
|
|
|
print(','.join([]))
|
|
print(','.join(['a']))
|
|
print(','.join(['a', 'b']))
|
|
|
|
print(''.join(''))
|
|
print(''.join('abc'))
|
|
print(','.join('abc'))
|
|
print(','.join('abc' for i in range(5)))
|
|
|
|
print(b','.join([b'abc', b'123']))
|
|
|
|
try:
|
|
print(b','.join(['abc', b'123']))
|
|
except TypeError:
|
|
print("TypeError")
|
|
|
|
try:
|
|
print(','.join([b'abc', b'123']))
|
|
except TypeError:
|
|
print("TypeError")
|
|
|
|
# joined by the compiler
|
|
print("a" "b")
|
|
|