Appearance
可参考资料
官方文档
菜鸟教程
你可以在终端与解释器进行交互
在终端中输入 python 即可进入解释器
解释器可以进行简单的表达式和语句操作
你可以自己把玩一下
>>> 1 + 2
3
>>> 3 - 2
1
>>> 5 * 6
30
>>> 7 / 4
1.75
>>> 7 // 4
>>> 7 % 4
>>> 4**3
64
同时可以输入 exit``() 或按 Ctrl+D 退出交互
exit``()
同学们可能已经发现 python 这门编程语言的神奇之处了
在这里留一个思考题
为什么 python 可以做出不需要任何语句的神奇操作呢?
别的语言可以这样吗?