python字符串的两种输出格式:
print("hello world")
name = 'ROSE'
# 我的名字是TOM
print('我的名字是%s' % name) #第一种
print(f'我的名字是{name}') #第二种
python字符串的两种输出格式:
print("hello world")
name = 'ROSE'
# 我的名字是TOM
print('我的名字是%s' % name) #第一种
print(f'我的名字是{name}') #第二种