PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#answer the 1st and 2nd question in one run, answer the 2nd question on the next line
family_members= ["abid", "shabana", "husna", "amaan", "haaniah"]
print ("family members:", family_members)
print ("bot: is anyone missing?")
choice = str(input())
if choice == "yes":
print(choice)
print ("bot: oh sorry, who did i miss?")
name = str(input())
if name == "aisha":
print (name)
print ("bot: oh! i forgot about", name)
family_members.append(name)
print ("family members:", family_members)
print ("bot: idek who that is but k")
elif choice== "no":
print (choice)
print ("bot: oh okay")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run