print('should you bring her wine?') print('are you in a relationship?') a = raw_input() if a == 'yes': return('of course you should silly!') else: print('well, do you WANT to be in a relationship?') b = raw_input() if b == 'yes': return('well then you should certainly bring her wine!') else: print('really? do you even like her as a friend?') c = raw_input() if c == 'yes': return('Well, you should still bring her wine. Because thats what friends do') else: print('then you should give her wine and tell her to go away.')
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