#-*- encoding:UTF-8 -*-
#誉天暑期训练营
# print(u'中国') ;print('hello world！')
# a=b=c=1
# print(a,b,c)
# d=e,f=1,2
# print(d,e,f)
# _a=1
# a12=2
# a=2
# print(type(a))
# b="1234"
# print(type(b))
# c='z'
# print(type(c))
# a=2+3j
# b=3+2j
# x=12
# y=0
# print(x and y)
# print(x or y)
# print(not x)
# print(not y)
print("%s %.2f"%(12,12.3))
print("%10s is %d years old"%("Rose",18))
"""%[(name)][flags][width].[precision]typecode
通过格式化的形势，写一个自我介绍，我叫xxx,我今年多大?
"""
print(-5%3,5%-3,5%3)
print('我叫{0:s},我的年龄是{1:d}'.format('张三',15))

