if action == 'a': late_apology() elif action == 'b': print("You ignore Eli completely. The end.") else: print("Invalid choice. Let's try again.") ignore_eli()
action = input("Do you: (A) walk Eli back to her dorm, (B) return to class on your own? ").lower() Otome Function Demo
print("Eli smiles warmly at you. 'Thanks for today. I owe you one!'") print("It seems you've made a good impression on Eli.") if action == 'a': late_apology() elif action ==
def ignore_eli(): print("You ignore Eli and focus on the lesson.") print("The teacher seems impressed with your focus, but you can't shake the feeling you might have missed an opportunity.") (B) ignore her completely?
action = input("Do you: (A) try to talk to Eli after class, (B) ignore her completely? ").lower()
def help_eli(): print("You decide to help Eli look for her spellbook.") print("As you search the classroom together, you begin to chat.") print("Eli seems grateful and a bit more at ease around you.")
if action == 'a': print("Eli agrees! It looks like you have a study date.") elif action == 'b': print("You part ways. Maybe next time.") else: print("Invalid choice.")