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 ")
double Enter will exit the if block in the interactive mode