def Begin(): import random, os, sys, math, turtle, time print('Welcome... urm what was your name again? ') name = input ("Type your name ") print("Acsessing Webcam...") time.sleep(2) print("Yes, yes you do look like a ",name,) print('So',name,'What do you do for a living?(if you have no job type nj)') job=input("Please type your Job") if job =='nj': print("Well I know you dont have a job but how are you feeling",name,"?") else: print("Well ",name," I wish I could be a ",job,) def Emot(): emot = Emot() emot='' while emot != 'good' or 'Good' and emot != 'bad' or 'Bad': ` emot=input("How are you feeling to day",name,"(Good , or Bad) ") return emot def Humane() if emot == 'bad' or 'Bad': print("I'm Sorry you feel Bad") if emot == 'Good' or 'good': print("Thats Great that you feel good") Begin() Emot() Humane()
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