I'm trying to make a Madlibs-type thing in python, as I'm new to coding and wanted a sort of simple project to work on for a first thing to make. I'm trying to make it so that the verbs/nouns/adjective variables appear in the string, but they, instead of being called, are just right in the code. This is the first actual program that I've written, so this is probably a super easy fix, but I have no idea how to make this work.
print("Welcome To Madlibs")
choosepage = input("Choose Page, 1, 2 or 3. :\n")
choosepage = int(choosepage)
if choosepage == 1:
print("Welcome To Madlibs, Page 1")
adjective1 = input("Give One Adjective: ")
noun1 = input("Give One Noun: ")
noun2 = input("Give Another Noun: ")
verb1 = input("Give A Verb: ")
adjective2 = input("Give Another Adjective: ")
print("One Day, there was a "%adjective1" woman. This woman, was on a walk one day, when she saw a " %noun1 " She looked at the " %noun1 " and thought to herself, " %noun1 " looks like a " %noun2 "."
elif choosepage == 2:
print("Welcome To Madlibs, Page 2")
(The Code in Question)
The reason I'm putting %
signs in front of the variables is because I saw that as a fix somewhere online.