1.python输入输出用input和output
import os str=input("please:") os.system(str)
please:calc
计算机成功打开了计算器
2.id求地址,type求类型。语法非常的简答。
TheNumberofMygirlfriends=200 print(TheNumberofMygirlfriends) print(type(TheNumberofMygirlfriends)) print(id(TheNumberofMygirlfriends))
运行,输出:
200
<class 'int'>
1973289648