Happy New Year 2025 ABC 387 Completed

Problem 29 of 50

Easy

lightbulb What to do

You need to take two positive numbers, add them together, and then find the result of that sum multiplied by itself. For example, if you add 2 and 3, you should calculate (2 + 3) * (2 + 3).

Key Concepts
basic math input/output variables addition squaring a number
Examples

Input: 20, 25

Output: 2025

Input: 30, 25

Output: 3025

code Python Editor
Loading Python...
Test Results
tips_and_updates Tips for Beginners
  • Focus on understanding the logic, not memorizing syntax
  • Use print statements to debug your code
  • Don't worry about input parsing - the function handles that for you
  • If stuck, try writing out your solution on paper first