![見出し画像](https://assets.st-note.com/production/uploads/images/83582900/rectangle_large_type_2_a02a828901352a8cfd809b6c55380ffc.png?width=800)
Photo by
masaru12
ほぼ日刊競プロ 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
この記事が気に入ったらサポートをしてみませんか?