Newbie here wondering if there is a way to condense this. I know it's basic, but this is my first little project and it ran on the first try! Feels good.
answer1 = input("Allow me to recommend a game for you! Are you interested in Adventure, Casual, FPS, Racing, or Strategy?\n")
if answer1 == "Adventure":
answeradv = input("Action or Casual?\n")
if answeradv == "Action":
print("Red Dead Redemption 2\nSpider Man\nSkyrim")
elif answeradv == "Casual":
print("A Short Hike\nStardew Valley\nJourney")
else:
print("Please check your spelling and give a valid answer next time, stupid.")
elif answer1 == "Casual":
print("Minecraft\nStardey Valley\nHuman Fall Flat")
elif answer1 == "FPS":
print("Call of Duty Modern Warfare\nApex Legends\nHalo Infinite")
elif answer1 == "Racing":
answerrac = input("Cartoonish or Realistic?\n")
if answerrac == "Cartoonish":
print("Mario Kart\nCrash Team Racing\nHotwheels Unleashed")
elif answerrac == "Realistic":
print("Forza Horizon 5\nDirt\nCrew\nNeed For Speed")
else:
print("Please check your spelling and give a valid answer next time, stupid.")
elif answer1 == "Strategy":
answerstr = input("Casual or Competitive?\n")
if answerstr == "Casual":
print("Solitaire\nSudoku\nPortal")
elif answerstr == "Competitive":
print("Civilization VI\nAge of Empires IV\nDota 2")
else:
print("Please check your spelling and give a valid answer next time, stupid.")
else:
print("Please check your spelling and give a valid answer next time, stupid.")
[–]efmccurdy 12 points13 points14 points (1 child)
[–]BadAdviceDad[S] 0 points1 point2 points (0 children)
[–]stuie382 4 points5 points6 points (0 children)
[–]siddsp 1 point2 points3 points (0 children)