Add to Array-Form of Integer LeetCode solution in Python

1
class Solution:
2
def addToArrayForm(self, num: List[int], k: int) -> List[int]:
3
return list(str(int("".join(map(str, num))) + k))

0

WPM •0 •0

100%

ACC •0 •0

0s

TIME •0