print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)
name = 'Alice' age = 20 print(name, age)
Alice 20
print(name, age, sep=',')
Alice,20
print('Hello', end='') print('World')
HelloWorld
name = 'Alice' age = 20 print('%s is %d years old' % (name, age))
Alice is 20 years old
name = 'Alice' age = 20 print(f'{name} is {age} years old')
Alice is 20 years old
for i in range(5): print(i)
0 1 2 3 4
标签: urllib