print("Welcome to the golf simulator that generates either statistics on your golf game or estimate what you would score against the top golf players of the world !!!") print("Please choose which one you would like to do by inputing either the word analyze my score or compare my game, and please write it word for word, if you do not, it will produce an error") userScore = readInput("Please enter either compare my game or analyze my score") if(userScore == "analyze my score"): golf18hole = []
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question