Loading...
代码var = 123 def func(): var = 456 print(var) func() print(var)运行定义全局...
代码# * 后面的参数可以不输入,也可以输入多个 def howlong(first, *other): print( 1 + len(othe...
代码import re def find_item( hero ): with open('sanguo.txt',encoding='GB180...
知识点代码# i = j # print()) # d = {'a':1 , 'b':2} # print(d['a']) # print(d['d'...
代码file6 = open('name.txt') print('已经打开文件') #指针操作,显示当前操作位置 print('当前指针位置为:%d' ...