Advertisement
EXTREMEXPLOIT

Recursive String Lenght

Nov 7th, 2019
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. def GetLen(String):
  2.     if String == "":
  3.         return 0
  4.     else:
  5.         return 1 + GetLen(String[1:])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement