Skip to content

Commit cd7bf56

Browse files
committed
Update
1 parent 70946c2 commit cd7bf56

22 files changed

Lines changed: 339 additions & 1 deletion

Coding.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name = input("What is your name?")
2+
adjective1 = input("Enter an adjective:")
3+
animal = input("Enter an animal of your choice:")
4+
coding = input("Enter a coding language:")
5+
print("Once upon a time")
6+
print(name + " rode a")
7+
print(adjective1 + " " + animal)
8+
print("and taught people")
9+
print(coding + ".")
10+
11+
12+
print("Once upon a time", name, "rode a", adjective1, animal, "and taught people", coding + ".")

LunchRoom.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
print("Do you want to do a surprise!? If you don't, than STOP this program.")
2+
print("Lunch Room!")
3+
name = input("Pick your name, or a nickname.")
4+
adjective = input("Pick an adjective.")
5+
adjective1 = input("Pick another adjective.")
6+
adjective2 = input("Pick a third adjective.")
7+
animal = input("Pick a cow, sheep, goat, beef or any meat.")
8+
vegetable = input("Pick a vegetable.")
9+
vegetable1 = input("Pick another vegetable.")
10+
color = input("Pick a Color.")
11+
container = input("Pick a container name for lunch.")
12+
noun = input("Pick a noun.")
13+
print("These are your choices. " + "Your name is " + name + ". Your container's name is " + container + ". Your adjectives are " + adjective + ", " + adjective1 + ", and " + adjective2 + ". Your vegetables are " + vegetable + " and " + vegetable1 + ". Your noun is " + noun + ". And last but not least, your animal-meat is " + animal + ".")
14+
print("Make sure your lunch " + container + " is\n" + "filled with nutritious " + adjective + " food. Do \nnot go to the " + adjective1 + " food stand across \nthe street from school. The hamburgers they \nserve are fried in " + noun + " and are made \nof " + animal + " meat. So take a sandwich made \nof " + vegetable + " or, " + vegetable1 + " it's much \nhealthier! Drink " + color + " milk instead of \n" + adjective2 + " colas." + " Thanks, " + name + " for solving my MADLIBS problem!")

Madlibs/.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Madlibs/.idea/Madlibs.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Madlibs/.idea/inspectionProfiles/Project_Default.xml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Madlibs/.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Madlibs/.idea/misc.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Madlibs/.idea/modules.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Madlibs/Python Files/LunchRoom.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
print("Do you want to do a surprise!? If you don't, than STOP this program.")
2+
print("Lunch Room!")
3+
name = input("Pick your name, or a nickname.")
4+
adjective = input("Pick an adjective.")
5+
adjective1 = input("Pick another adjective.")
6+
adjective2 = input("Pick a third adjective.")
7+
animal = input("Pick a cow, sheep, goat, beef or any meat.")
8+
vegetable = input("Pick a vegetable.")
9+
vegetable1 = input("Pick another vegetable.")
10+
color = input("Pick a Color.")
11+
container = input("Pick a container name for lunch.")
12+
noun = input("Pick a noun.")
13+
print("These are your choices. " + "Your name is " + name + ". Your container's name is " + container + ". Your adjectives are " + adjective + ", " + adjective1 + ", and " + adjective2 + ". Your vegetables are " + vegetable + " and " + vegetable1 + ". Your noun is " + noun + ". And last but not least, your animal-meat is " + animal + ".")
14+
print("Make sure your lunch " + container + " is\n" + "filled with nutritious " + adjective + " food. Do \nnot go to the " + adjective1 + " food stand across \nthe street from school. The hamburgers they \nserve are fried in " + noun + " and are made \nof " + animal + " meat. So take a sandwich made \nof " + vegetable + " or, " + vegetable1 + " it's much \nhealthier! Drink " + color + " milk instead of \n" + adjective2 + " colas." + " Thanks, " + name + " for solving my MADLIBS problem!")

Madlibs/Python Files/TechGit.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/dev/python3
2+
# Use 'sudo python3 madlibs.py' to run
3+
# Use examples below to create more options for users to fill in
4+
5+
6+
color = input("My favorite color is? ")
7+
place = input("What is the best place to get a burger? ")
8+
tech = input("What is your favorite piece of technology? ")
9+
10+
print("Roses are", color)
11+
print(place + " makes me feel " + color)
12+
print("I love", tech + " and all the amazing experiences it provides")

0 commit comments

Comments
 (0)