1.变量赋值与语句 #python 不需要手动指定变量类型.不需要分号 #To assign the value 365 to the variable days,we enter the variable name, add an equals sign(=) days=365 2.输出 print() 1 #print(),python3中,必须加括号. 2 number_of_days = 365 3 print('Hello python') 4 print(number_of_days…
在IDE解释器中,执行help('modules')可查看当前环境可调用的Python模块: >>> help('modules') Please wait a moment while I gather a list of all available modules... __future__ atexit http scrolledlist __main__ audioop hyperparser search _abc autocomplete idle searchbase _a…