1)
A = int(input("A = "))
B = int(input("B = "))
suma = 0
if A > B:
----for x in range(B,A+1):
----print(x)
----suma += x
print("Сума всех",suma)
2)
n = int(input('n = '))
if n <= 9:<br> ----for i in range(n):
--------for j in range(1, i + 2):
------------print(j, end='')
--------print()