Question: I've done different types of this question and I keep getting it wrong. Please help me figure out what I'm getting wrong. Code in Python.

I've done different types of this question and I keep getting it wrong. Please help me figure out what I'm getting wrong. Code in Python.

Input: 11

stop = int(input())

result = 0

for a in range(4):

for b in range(5):

result += a + b

print(result)

if result > stop:

break

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!