-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclever_stories.py
More file actions
20 lines (18 loc) · 840 Bytes
/
clever_stories.py
File metadata and controls
20 lines (18 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This program asks the user for some words and then shows the full story after all inputs are collected
# this is where i ask users to enter inputs
print("Please enter the following:\n")
adjective = input("adjective: ")
animal = input("animal: ")
verb = input("verb: ")
exclamation = input("exclamation: ").capitalize()
verb = input("verb: ")
verb = input("verb: ")
# let me display the full story after all inputs is entered
print("\nYour story is:\n")
clever_story = (
"The other day, I was really in trouble. It all started when I saw a very\n"
f"{adjective} {animal} {verb} down the hallway. \"{exclamation}!\" I yelled. But all\n"
f"I could think to do was to {verb} over and over. Miraculously,\n"
f"that caused it to stop, but not before it tried to {verb}\n"
"right in front of my family.")
print(clever_story)