diff --git a/coding_solutions/interview_related/AddTwoNum.py b/coding_solutions/interview_related/AddTwoNum.py index 8034215..566cdde 100644 --- a/coding_solutions/interview_related/AddTwoNum.py +++ b/coding_solutions/interview_related/AddTwoNum.py @@ -1 +1,8 @@ -'Solution to be add here' \ No newline at end of file +def add(x,y): + if x and y is not digit: + return None + else: + a,b = int(x), int(y) + return a + b + +