Guest User

Untitled

a guest
May 27th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. def find_largest_num(Li):
  2. if len(Li) ==1:
  3. return Li[0]
  4. x1 = Li[0]
  5. x2 = find_largest_num(Li[1:])
  6. if x1 > x2:
  7. return x1
  8. else:
  9. return x2
  10.  
  11. '''Usage'''
Add Comment
Please, Sign In to add comment