# 可以输出数字print(123)print(98.5)# 可以输出字符串print("hello")print('helloo')# 可以输出含有运算符的表达式print(3+1-2)# 可以将数据输出到文件中fp = open('E:\yuannaicheng\ync.txt','a+')print('hello world', file=fp)fp.close()