#1.1 echo_name_country
#coding = utf-8
name=input('请输入您的姓名:')
country=input('请输入您想去的国家或者地区:')
print('世界那么大,{}想去{}看看!'.format(name,country))
#教材中输出模式
print('世界那么大,'+name+'想去'+country+'看看!')
#输出无空格
print('世界那么大,',name,'想去'+country+'看看!')
#输出有空格
#1.1 echo_name_country
最新推荐文章于 2022-06-12 09:22:19 发布