Python,,交互模式>>100+
Python,,交互模式>>100+
交互模式>>100+200
300
命令行 cal.py print(‘100+200‘)
c:\>python cal.py
300
Linux
hello.py
#!/usr/bin/env python3
print(‘hello, world‘)
chmod a+x hello.py
./hello.py
Python
>>100+200
300
命令行 cal.py print(‘100+200‘)
c:\>python cal.py
300
Linux
hello.py
#!/usr/bin/env python3
print(‘hello, world‘)
chmod a+x hello.py
./hello.py
Python
评论关闭