MadLibs Project error


#1

https://www.codecademy.com/courses/learn-python/projects/madlibs?action=resume_content_item

Please help, everything work perfectly until it attempts to print the story. I’ll post a screenshot, or you can try it yourself. I’m trying to understand where it goes wrong with no luck.


#2

Ah. Nevermind. I noticed on the screenshot that my “Name” was uppercase while the rest were lowercase. I then went to see if it worked and realized i forgot the Country variable!


#3

I have encountered a new error. I have counted my variables and the percents and they both add up to 18, but the terminal says there isn’t enough variables. Help?
https://www.codecademy.com/courses/learn-python/projects/madlibs?action=resume_content_item


#4

I count only 16 variables in the argument list.

Aside

Use the variable names given in the exercise. We never capitalize variable names as that gives them a special meaning (a Class Name). Use all lowercase names.


#5

Use all lowercase for variables. Got it.

I forgot to Save all my changes so the terminal still thought Country and name were missing. Thank you for taking the time to respond and for the advice. Next time i’ll troubleshoot and look over my code a little more before I post to the forum. Have a good day :slight_smile: