Skip to content

Commit 32d638a

Browse files
Update AddTwoNum.py
done some code because it was easy if there is any error please update
1 parent 5098a50 commit 32d638a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
'Solution to be add here'
1+
def add(x,y):
2+
if x and y is not digit:
3+
return None
4+
else:
5+
a,b = int(x), int(y)
6+
return a + b
7+
8+

0 commit comments

Comments
 (0)