Question: In the code below the user enters values 3 and 5 at the user prompts. Which statement is true about the output? rows = int

In the code below the user enters values 3 and 5 at the user prompts. Which
statement is true about the output?
rows = int (input ("Enter number of rows: "))
columns = int (input ("Enter number of columns: "))
for r in range (rows):
for c in range (columns):
print ("*, end=")
print ()
There are 3 lines of output with 5 stars (*) in each line
There are 5 lines of output with 3 stars (*) in each line
There are 15 lines of output with one star (*) in each line
There is one line of output with 15 stars (*)
In the code below the user enters values 3 and 5

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!