Enclose the program in a while loop while true;
If they win then you break
If not then it will just keep looping
So it would look like
while true:
(a bunch of code, all indented)
when the person wins just add the word break
More Related Contents:
- Rename Duplicate file name to another name in multiple folders [closed]
- Run c/java/python with PHP? [duplicate]
- How to convert fuzzy hash string to a file? [closed]
- Simple Client Manager Soft – C# with Visual Studio or Java with Eclipse? [closed]
- Calling Python in Java?
- Compiled vs. Interpreted Languages
- Calling Java from Python
- Java Python Integration
- Spark: How to map Python with Scala or Java User Defined Functions?
- LBYL vs EAFP in Java?
- How can I install various Python libraries in Jython?
- Call and receive output from Python script in Java?
- Pyspark: Exception: Java gateway process exited before sending the driver its port number
- Spark Error – Unsupported class file major version
- Which programming languages can I use on Android Dalvik?
- Python: How can I execute a jar file through a python script
- Running a .py file from Java
- Java raw audio output
- XML instance generation from XML schema (xsd) [closed]
- What are the Spark transformations that causes a Shuffle?
- How to execute Python script from Java (via command line)?
- Finding Signed Angle Between Vectors
- Java or Python for Natural Language Processing [closed]
- Choosing Java vs Python on Google App Engine
- Java Equivalent to Python Dictionaries
- Why is there no GIL in the Java Virtual Machine? Why does Python need one so bad?
- Generator functions equivalent in Java
- Algorithm – How to delete duplicate elements in a list efficiently?
- Persisting sha256 hash objects?
- Using NumPy and Cpython with Jython