print('Hello!, im myla, whats your name') name=input() print('hi '+name+' its nice to meet you') print('how are you today') how= input() if how=='good': print('That is good to know') elif how=='Good': print('Great! good to hear.') elif how=='not good': print('oh im sorry to hear that') else: print('ok well i hope you have a GREAT day :D') print('so '+name+' are you excited for christmas?!') answer= input() if answer=='yes': print('YAY! me too!') elif answer=='Yes': print('YAY! Me too!') elif answer== 'no': print('oh... ok :(') elif answer== 'No': print('oh...ok:(') else: print:('ok, i think so too.')
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