Q14.What is the output of the following snippet of code?
```
a, b = 8, 28
if a < b:
start = b
else:
start = a
end = a * b
for x in range(start, end + 1):
if (x % a == 0) and (x % b == 0):
print(x)
break
```
Save
Check
Details
Q14
5 Jun 2022
Q14.What is the output of the following snippet of code?
```
a, b = 8, 28
if a < b:
start = b
else:
start = a
end = a * b
for x in range(start, end + 1):
if (x % a == 0) and (x % b == 0):
print(x)
break
```