print("Введите стороны прямоугольника:")
a = int(input())
b = int(input())
s = a * b
p = (a + b) * 2
print("S = " + str(s))
print("P = " + str(p))
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
print("Введите стороны прямоугольника:")
a = int(input())
b = int(input())
s = a * b
p = (a + b) * 2
print("S = " + str(s))
print("P = " + str(p))