raw_input("choose shoes to be worn") x=raw_input("does shoes have laces?") if x!='yes': print "choose another method" print "end" else: y=str(raw_input("choose a tying method:standard,bunny,fast tying:")) if y=='standard': print '''make a standard knot by tying and crossing the two ends. Double one of the ends into a loop. Wrap the other end around the loop. Feed the same end into the hole just made Pull both loops.''';z=raw_input("Escaped loops?:") if z=='no': print "shoelaces succesfully tied." else: print "try again" elif y=='bunny': print '''make a standard knot by tying and crossing the two ends. Make both ends into loops. Cross the two loops. Wrap the first loop around the second loop. Feed the first loop under the hole it just made. Pull both loops.''';z=raw_input("Escaped loops?:") if z=='no': print "shoelaces succesfully tied." else: print "try again" else: print '''Create two loops where one has the loose end in front,the other has it behind. Overlap the loops; place the one with the loose end in front on top the other loop. Grab the loose ends and full them into each other's loops. Pull on the both ends.''';z=raw_input("Escaped loops?:") if z=='no': print "shoelaces succesfully tied." else: print "try again"
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