Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

stop program python

# Do stuff
stop = input("Would you like to stop the program? ")
if stop == "y":
  exit()
else:
  # do stuff
 
PREVIOUS NEXT
Tagged: #stop #program #python
ADD COMMENT
Topic
Name
3+5 =