For understanding for loops and
range().
Python range() reminder:
range(start, stop) → uses the default step of 1. The step is optional.range(start, stop, step) → lets you choose a custom step (positive or negative, but not 0).step = 0 raises: ValueError: range() arg 3 must not be zero.# Python Code
num = 7
for i in range(1, 11):
# Calculate result
answer = num * i
print(f"{num} x {i} = {answer}")