ほぼ日刊競プロ leetcode 2235. Add Two Integers
2235. Add Two Integers
Given two integers num1 and num2, return the sum of the two integers.
考えたこと
num1とnum2を足すこと
class Solution:
def sum(self, num1: int, num2: int) -> int:
print (num1+num2)
return num1+num2