a=int(input())
b=int(input())
acc = 0
for i in range(abs(b))
acc = acc + a
if b < 0:
acc = 0 - acc
k=0
while b!=0:
k+=a
b-=1
print (k)
a = int(input())
b = int(input()
:
оцени бро
Объяснение:
a=int(input())
b=int(input())
acc = 0
for i in range(abs(b))
acc = acc + a
if b < 0:
acc = 0 - acc
k=0
while b!=0:
k+=a
b-=1
print (k)
a = int(input())
b = int(input()
:
оцени бро
Объяснение: