Computer Science, asked by Harleydog1003, 11 months ago

In python. Write a program to output the following: __ ('') ( ( ) ) ( ( ) ) ( ( ) ) ( ( ) ) V

Answers

Answered by rr8814962
0

Answer:

def printPattern(N):

i=['_','(")','(())','(())','(())','(())','V',]

a=0

x=0

for j in range(1,8):

print(i[a] if x%2==0

else a+3,end=" ")

a=a+1

N=10

printPattern(N)

Attachments:
Similar questions