Flicker Phrase

Finish the program provided. You’ll need to write five if statements and some function calls. If you do it right it should display a phrase in an interesting way.

Files Needed

Save your file as flicker_phrase.py

What You Should See

I pledge allegiance to the flag.

… but flickering on the screen.

What You Should Do on Your Own

Assignments turned in without these things will receive no credit.

  1. Add the five if statements and function calls where indicated.

  2. (optional) Add a delay using time.sleep()


©2021 Daniel Gallo

This assignment is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.

Creative Commons License

Adapted for Python from Graham Mitchell’s Programming By Doing