diff --git a/stuff/mad-libs/README b/stuff/mad-libs/README index b2c0270..d9123fc 100644 --- a/stuff/mad-libs/README +++ b/stuff/mad-libs/README @@ -8,6 +8,5 @@ This work has been identified as being free of known restrictions under copyright law, including all related and neighboring rights. - You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. diff --git a/stuff/mad-libs/main.py b/stuff/mad-libs/main.py index 0bb3d06..e404b00 100755 --- a/stuff/mad-libs/main.py +++ b/stuff/mad-libs/main.py @@ -2,7 +2,24 @@ # mad libs for CS # Public domain - no warranty -usrInput = input( +name = input("==> Enter a name: ") +place = input("==> Enter a place: ") +transport = input("==> Enter a mode of transportation: ") +place2 = input("==> Enter another place: ") +food = input("==> Enter the name of a food: ") +noun = input("==> Enter a noun: ") +vb = input("==> Enter a verb in the past tense: ") +vb2 = input("==> Enter another verb in the past tense: ") +vb3 = input("==> Enter a regular verb: ") +adv = input("==> Enter an adverb: ") +#spc = print(" ") + +print(name + " was excited to go to " + place + ". They will need to get there by " + transport + ".") +print(name + " " + vb + " to the " + place2 + ". " + name + " purchased some " + food + " for the trip.") +print("When " + name + " arrived, their " + noun + " was " + vb2 + ". They " + adv + " " + vb3 + " to the " + " " + place2) +print("Unfortunately, their " + noun + " was lost.") #{name} was excited to go to {place}. They will need to get there by {mode of transport}. -#{name} is excited +#{name} {past tense verb} to the {location}. {name} purchased some {food} for the trip. +#When {name} arrived, their {noun} was {past tense verb (2)}. They {adverb} {verb} to the {place(2)}. +#Unfortunately, their {noun} was lost.