Skip to content

python工作积累

1. 字符串

1.1 字符串格式化

python
name = 'world'
print('hello %s' % name)
name = 'world'
print('hello %s' % name)