Question: ( 1 ) Output this tree. ( Submit for 2 points ) . * * * * * * * * * * * *

(1) Output this tree. (Submit for 2 points).
*
***
*****
*******
***
(2) Below the tree (with two blank lines), output this dog. (Submit for 3 points, so 5 points total).
/^^\
/00\
V\ Y /V
/-\
|\
||(__V
Hint: A backslash \ in a string acts as an escape character, such as with a newline
. So, to print an actual backslash, escape that backslash by prepending another backslash. Ex: The following prints a single backslash: print('\\')

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!