fixed stuff
This commit is contained in:
parent
54cb3382a1
commit
bc6333790c
@ -8,6 +8,5 @@ This work has been identified as being free of
|
|||||||
known restrictions under copyright law, including
|
known restrictions under copyright law, including
|
||||||
all related and neighboring rights.
|
all related and neighboring rights.
|
||||||
|
|
||||||
|
|
||||||
You can copy, modify, distribute and perform the work,
|
You can copy, modify, distribute and perform the work,
|
||||||
even for commercial purposes, all without asking permission.
|
even for commercial purposes, all without asking permission.
|
||||||
|
@ -2,7 +2,24 @@
|
|||||||
# mad libs for CS
|
# mad libs for CS
|
||||||
# Public domain - no warranty
|
# 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} 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user