#变量a=10#列表arr=[1,2,3]#字典user={"name":"Tom "}#函数 def sum(a=1,b=2): return a+b#读取文件 with open("test.ttxt") as f: print (f.read())