Coding Task: 02.02 Super Smiley Face

In this exercise you will be writing code to draw two smiley faces. The first smiley face has already been coded for you.

Your Task

In the editor below, fill in the blanks so that the program displays a smiley face on the screen, waits for the user to press ENTER, and then prints a second smiley face with different eyes and a different mouth.

Python Reference Sheet

Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:

Requirements

  • The program should run without any errors.
  • The program should display the first smiley face, then wait for the user to press ENTER. Once the user presses ENTER, it should display the second smiley face.
  • The second smiley face should have different eyes and a different mouth. Check out the example image below for reference.
  • Hint: The second smiley face is partially complete. You could finish it off yourself, or you could copy and paste the first smiley face and change just the eyes and mouth much faster!

Example

Below is an example of how the program should run:

    .-^^^^^^^-.
  .`           `.
 /   .      .    `
:                 :
|                 |
:   \        /    :
 \   `.____.`    /
  `.           .`
    `-._____.-`

Press [ENTER] to blink!

    .-^^^^^^^-.
  .`           `.
 /   _      _    `
:                 :
|                 |
:   \        /    :
 \   `.____.`    /
  `.           .`
    `-._____.-`

Scroll to Top