摘要:
""" NAME = 'alex' # global variable be capital def change_name(): global name # if no declaring the global name can also change the clglobal variable 阅读全文
摘要:
#****Summary of data type and variable***** """ 1: Can be changed or not: can :list and dict :the same ID no :string ,int and tuple: The different ID 阅读全文
摘要:
# ************One:Number*********** a="123" print(type(a),a) b=int(a) print(type(b),b) # Transfer the string to number # num='a' #v=int(num,base=16) # 阅读全文
摘要:
恢复内容开始 恢复内容开始 一、The development of Python 1、Two types of program: Type 1:Python,Java,PHP,C#,Go,ruby,C++…… >>>byte code Type 2: C,assembler >>>machine 阅读全文