Edhesive assignment 3: Chatbot
Answers
Answer:
Explanation:
This will be a 100%
Answer:
In this workout we ought to use the information of computational language in python to explain a code, like this:
The code may be determined withinside the connected image.
To make it less complicated the code may be determined under as:
name1=input("What is your first name? ")
name2=input("What is your remaining name? ")
print("Hi there, "+ name1+" "+name2 +" ,great to satisfy you!")
print("How vintage are you?")
age = int(input(" "))
print(str(age) + " is a great age.")
if(age >= 16):
print("You are vintage sufficient to drive. n")
else:
print("Still taking the bus, I see. n")
print("So, " + name1 + ", how are you today?")
feel=input("")
print("You are " + feel),
if(feel== "Happy"):
print("That is ideal to pay attention.")
elif(feel == "Sad"):
print("I'm sorry to pay attention that. ")
else:
print("Oh my!")
print("Tell me more. n")
#SPJ2