[LeetCode] 371. Sum of Two Integers (Python)
- ์ ๊ฐ์ฐ๊ธฐ ๊ตฌํ ๋ฌธ์
- ๋ฏธ๋์์ด ์๋๋ผ ํ๋ ๊ฐ์..
- ์ดํด ๋๋ฌด ํ๋ค์ด์ ๊ทธ๋ฅ
sum()
์ผ์..
SolutionPermalink
class Solution:
def getSum(self, a: int, b: int) -> int:
return sum([a, b])
Leave a comment