print("hello,zxw")
print("are","you","okay?")
print(500)
#打印变量
name="51zxw"
print("hello,%s"%name)
'''
#打印字符串和整数print('hello,51zxw')
print("are","you","okay?")
print(500)
#打印变量
name="51zxw"
print("hello,%s"%name)
width=30
print("width,%d"%width)
#input语句
con=input("please input content")
print("content is %r"%con)
#整数
x=5
y=5
z=x+y
print(z)
print(x+y)
print("%d"%z)
#浮点数
f=5.30
l=6.30
a=f+2
print(a)
print(l)
#字符串变量
str="hello 51zxw"
print(str)
print("hello 51zxw")
#转义字符
print("hello \n 51zxw")
print("c:\\python35") #路径读取时取取其路径
print("my name is \'hanjing\'")
#bool值
t=True
f=False
print(t and f)
print(t or f)
#数组的定义
student=['hj','hq','hw']
print(student)
#访问数组元素
print(student[0])
print(student[-1]) #访问最后一个元素
print(student[3])