Y
Y
YraganTron2014-12-22 17:52:19
Python
YraganTron, 2014-12-22 17:52:19

How to break a function?

There are several functions. It is necessary that when one of the conditions in one of the functions is triggered, the program stops responding to any actions, and it is required to press the button to restart the program.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maxclax, 2014-12-22
@maxclax

break to exit the loop, you can also pass
input to enter something

D
Daulet, 2015-01-04
@Danil38

raw_input() , and then parse the received string and do the action

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question