ASCII bunny

Let’s Draw the Bunny

We learned how to display a single line of text using the print function in our last lesson. To draw a bunny, we need to print three separate lines.

Step1: Start with the first line to draw the ears:

Type this in the trinket code editor; Do not copy-paste.

print(' (\_/)')

Step2: Draw the face:

Type this in the trinket code editor; Do not copy-paste.

print('(=^.^=)')

Step3: Draw the feet:

Type this in the trinket code editor; Do not copy-paste.

print('(")_(")')

See the video below on how to do all the above steps.

Some keys have 2 symbols printed on them. If you want to type the symbol printed on the top, then press and hold Shift while pressing the key. Need help in locating the keys? Click here:

keys required for ascii art

The final code should look like this:

Type this in the trinket code editor; Do not copy-paste.

print(' (\_/)')
print('(=^.^=)')
print('(")_(")')

Now, click run and check the output. If the ears look a bit off, add a space before the ears in line #1 and run again.

That’s it for this lesson, guys! Time for my coffee break.

Can you guess what’s written on the coffee mug?

Still not sure? Revelio!

It’s a famous coffee company.

CLICK ON ‘MARK COMPLETE’ or ‘NEXT TOPIC’ at the top of the page to proceed.