Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Different Types of String Formatting
We now know how to create a string, and we know how to make a variable, but what if we want to put a variable inside of a string?
For example, say we have the string that we want to print:
βMy favorite topping on a waffle is bananas!β
This is great, but itβs not very versatile.
What if we wanted it to say, bananas, chocolate chips, or blueberries?
Better yet, what if the topping changed ...