#python中%s表示的是字符串的占位符
#%d 是数字的占位符
#如果字符串中有了占位 则后面的所有%都是占位 需要转义
name=input("请输入你的名字:")
age=input("请输入你的年龄:")
hobby=input("请输入你的爱好:")
gender=input("请输入你的性别:")
print("%s今年%s岁,是一个帅哥,爱好%s,性别:%s" %(name,age,hobby,gender))
python中的幂次运算
print(2**3)#表示的是2的三次方
and or not 同时存在,先算括号,然后算not,然后算and,最后算or
x or y , x为真,值就是x, x为假,值是y;
x and y, x为真,值是y,x为假,值是x