CHALLENGE ACTIVITY 5.8.1: Nested loops: Print rectangle Given the number of rows and the number of columns, write nested loops to print a rectangle.Sample output with inputs: 2 3 * * * * * * Use...



CHALLENGE ACTIVITY


5.8.1: Nested loops: Print rectangle







Given the number of rows and the number of columns, write nested loops to print a rectangle.


Sample output with inputs: 2 3


* * *

* * *


Use Python, please.


344614.2153518.qx3zqy7<br>1 num_rows = int(input())<br>2 num_cols = int(input())<br>1 test<br>passed<br>4 ' Your solution goes here '''<br>5<br>All tests<br>print('*', end=' ')<br>print()<br>passed<br>7<br>Run<br>Feedback?<br>

Extracted text: 344614.2153518.qx3zqy7 1 num_rows = int(input()) 2 num_cols = int(input()) 1 test passed 4 ' Your solution goes here ''' 5 All tests print('*', end=' ') print() passed 7 Run Feedback?

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here