[LeetCode] 371. Sum of Two Integers (Python)
- μ κ°μ°κΈ° ꡬν λ¬Έμ
- λ―Έλμμ΄ μλλΌ νλ κ°μ..
- μ΄ν΄ λ무 νλ€μ΄μ κ·Έλ₯
sum()
μΌμ..
Solution
class Solution:
def getSum(self, a: int, b: int) -> int:
return sum([a, b])
Leave a comment