1、整数
x=5
y=5
z=x+y
print(z)
2、浮点数
f=5.20
l=5.30
a=f+l
print(a)
3、字符串
str='hello,word'
print(str)
(打印字符串 用单引号或双引号括住)
4、转义字符
print("hello \n word") #\n :换行
print('c:\\python3.5') # \\ :转义单斜杠,
my name is 'jack' and "you"
print('my name is \'jack\' and \"you" ') # \' :转义单引号 ,\" :转义双引号
print('my name is \'jack\' and \"you\ " ')
5、布尔值
t=true
f=false
print(t and f) # 运行结果是false