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.
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?
It’s a famous coffee company.