You’ve been recruited by Gru and the Minions to create a program that helps them communicate in their wacky Minion universe. Follow the instructions carefully, or the Minions might just start chanting “banana” non-stop! 🌟
Greeting from a Minion 🗣️
Create a string using single quotes that represents a typical Minion greeting.
Minion's Favorite Food 🍌
Create a string using double quotes that describes a Minion’s favorite food (you already know what it is!).
A Message to Gru 💬
Using triple quotes, create a multi-line string (must be at least 4 lines) where the Minions express their loyalty to Gru.
Minion Lab File Path 🧪
Create a raw string that simulates a file path to the Minion’s secret lab experiments.
This string should include backslashes without using them as escape characters!
Meet a Specific Minion 👋
Using formatted strings, introduce a specific Minion by name and show a message about them.
The Minion’s name and message should be stored in variables.
Minion Chant or Expression 🎶
Create a concatenated string (using +) that represents a Minion chant or expression, like their classic "Banana!" chant or any silly phrase they love to say.
You must combine at LEAST 3 Strings
Minion Laughter 😆
Create a string that repeats a Minion’s laughter using the * operator to repeat the string multiple times.
Escape Characters 🔑:
Include at least 3 escape characters in your program.
Use things like newlines \n, tabs \t, or even display a backslash \\ in a string. (or other escape characters!! You Choose!)
Formatted String Alignment 🧭:
Use 2 or more formatted string alignments to align text within a certain width
left-align, right-align, center-align, padded)
Minion Banana Calculator 🍌:
Imagine the Minions are preparing a grand feast! Write a Python program that calculates how many bananas each Minion needs, based on how many Minions are present and the number of bananas available. Format the output using thousands separators and display the number of bananas each Minion gets with fixed decimal precision.
Note: You must print to screen how many minions there are, as well as how many bananas there are
Example: "Each Minion gets: 1,234.56 bananas"
Minion Squad Introduction 🤝:
Create a bunch of minion names which are stored in variables (at least 10)
Print a nicely formatted introduction for each one using center alignment.
Minion Banner Formatting
Use left/right/center/padding functions to format the banners. Don't use spaces. Let the functions do the work
Example:
*********************************
MISSION BRIEF
*********************************
Here is sample output for the task above.
Remember... this is just an example!! Yours can look different
You are encouraged to use any code or concepts that have been taught or demonstrated in class as part of your assignment. However, if you look up or reference additional code, libraries, or concepts from external sources (e.g., websites, books, online tutorials), you must cite the source.
For code/concept not yet visited in class:
Clearly indicate the exact code or concept used.
Indicate how/why you needed this. What caused you to look it up?
Provide a brief description of where you found it (e.g., URL, book title, or video link).
Explain how it was integrated into your solution and how it added to your program
Additional Guidelines:
Any external concepts or code should be at a reasonable level of difficulty compared to what we've covered in class.
If a concept or code is well beyond the scope of what we’ve learned, you must either remove it or rewrite it to align with the level of coding we do in class.
Failure to properly cite external sources or follow the difficulty guidelines may result in a deduction of points or further review. Be honest and transparent in your use of outside resources!