When you type in the if statement and the terminating colon, then press Return (or enter) on your keyboard, the Python interpreter realizes you have entered a compound statement.
当键入if语句和终止的冒号,并按键盘上的回车键时,Python解释器就知道您输入了一个复合语句。
Or you can use the space bar or the left and right arrow keys to move the highlight, and then press the return key.
或者使用空格键或左右箭头移动高亮显示的选项,并按回车键。
应用推荐