Question: Integers outer _ num and inner _ num are read from input. The outer while loop executes ( outer _ num + 1 ) times.

Integers outer_num and inner_num are read from input. The outer while loop executes (outer_num +1) times. Complete the inner while loop to execute inner_num times for each iteration of the outer while loop. uter_num = int(input())
inner_num = int(input())
count =0
i =0
while i <= outer_num:
j =0
while ''' Your code goes here ''':
count +=1
j +=1
i +=1
print(f'Inner loop ran {count} times')

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 Databases Questions!