Time to Play! Scripts π€ΈββοΈΒΆ
Say Your NameΒΆ
Make a program called say_my_name.py
that prints your name. Run it at the terminal and see your name appear!
Youβre Super Duper GreatΒΆ
Write a program cheerleader.py
that does the following:
- Stores your name in a variable
- Stores a compliment in a variable
- Prints the compliment with your name 25 times.
It should work like this:
$ python3 cheerleader.py
Melanie, you're terrific!
Melanie, you're terrific!
Melanie, you're terrific!
Melanie, you're terrific!
...
You can use whatever kind of concatenation but f-strings are ferociously fantastic!