a = int(input())
b = int(input())
for i in range(a, b + 1):
print(i, ':', i ** 2)
Программа:Python:
a = int(input('a = '))
b = int(input('b = '))
for i in range (a, b + 1):
print(i * i)
a = int(input())
b = int(input())
for i in range(a, b + 1):
print(i, ':', i ** 2)
Программа:
Python:
a = int(input('a = '))
b = int(input('b = '))
for i in range (a, b + 1):
print(i * i)