Ответ:
firstNumber = int(input())
secondNumber = int(input())
if firstNumber > secondNumber:
secondNumber = secondNumber * 2
firstNumber = firstNumber * firstNumber
else:
secondNumber = secondNumber * secondNumber
firstNumber = firstNumber * 2
print("a =", firstNumber)
print("b =", secondNumber)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
firstNumber = int(input())
secondNumber = int(input())
if firstNumber > secondNumber:
secondNumber = secondNumber * 2
firstNumber = firstNumber * firstNumber
else:
secondNumber = secondNumber * secondNumber
firstNumber = firstNumber * 2
print("a =", firstNumber)
print("b =", secondNumber)