Question
v001 AWN str = 1 1 def hollow_row(ch, N): 2 if(N=-1): 3 } return ch str = str + N*ch 16 return str 17 def
v001 AWN str = 1 1 def hollow_row(ch, N): 2 if(N=-1): 3 } return ch
str = str + N*ch 16 return str 17 def main(): 18 print(hollow_square('@',1)) 19 print (hollow_square('#', 2)) 20 print(hollow_square ("*',5)) 21 print(hollow_triangle ('@',1)) 22 print(hollow_triangle('#', 2)) 23 print(hollow_triangle('*',5)) 24 main Running: Help.py @ ## ## Check submitted files (0.0/0.0) all required files submitted! Test output (12.0/12:0) test hollow_row (0.0/12:0) Test Palled: ' ' .: hollow_row. 1) Incorrect return value . test hollow_square (0.0/12.0) Tout Falled 'e' ! Hoe hollow_square'e', 1)t incorrect return value test hollow_triangle (0.0/2.0) Test ratledi '' None hollow_triangler, 1) incorrect return value test
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started