Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Combinatorial Testing In Cloud Computing

Authors: Wei-Tek Tsai ,Guanqiu Qi

1st Edition

9811044805, 978-9811044809

More Books

Students also viewed these Programming questions

Question

What is the role of reward and punishment in learning?

Answered: 1 week ago

Question

Please provide formulas and explanation

Answered: 1 week ago