#我的名字是xxx,年龄是xxx
name = "sz"
age = 18
print("我的名字是%s,年龄是%d"%(name,age))
print("我的名字是{0},年龄是{1}".format(name,age))
# f = open("text.txt","r+")
# for i in f:
# print(i)
#
# name = 112
# age = 22
# print(name,age)
# f = open("text.txt","w")
# print("xxxxxx333333",file=f)
#
# #输出不自动换行
# print("abc",end="
")
# print("1","2","3",sep="+")
#
# print("请输入账号",end="")
# #休眠5秒
# import time
# time.sleep(5)
# print("请输入账号",end="d")
name = "sz"
age = 18
f = '''---------name的建立----------
name:%s
age:%d
'''%(name,age)
print(f,end="dddddd")