Ответ:
Вариант 1:
for i in range(1, s1+1):
print(*range(i, i*s1+1, i), sep='\t')
Или простой вариант 2:
for j in range(i, i*s1+1, i):
print(j, end='\t')
print()
for i in range(1, 11):
print(f"5*{i}={5*i}")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Вариант 1:
for i in range(1, s1+1):
print(*range(i, i*s1+1, i), sep='\t')
Или простой вариант 2:
for i in range(1, s1+1):
for j in range(i, i*s1+1, i):
print(j, end='\t')
print()
Verified answer
for i in range(1, 11):
print(f"5*{i}={5*i}")