just play with Python, a small question on interactive mode.
steps:
question: HOW CAN I exit if block and write sth like the following in interactive mode :
flag=True
if flag:
print("flag is True")
print("exit if now ")
在交互式模式下,按两次Enter将退出if块
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.