Skip to content

Commit 387332e

Browse files
4
1 parent 5e15e32 commit 387332e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

4.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ def getNext(arg):
99
ary = cont.split(' ')
1010
next_arg = ary[-1]
1111
if next_arg.isdigit():
12-
getNext(ary[-1])
12+
print(next_arg)
13+
getNext(next_arg)
1314
else:
1415
print("result is: {}".format(next_arg))
1516

16-
getNext(12345)
17+
18+
getNext(12345)

0 commit comments

Comments
 (0)