Joined January 2019
·

Don Johnson

QA DEV at Age Of Learning
·
Los Angeles
·
·
·

Posted to Recursive reverse string in Python over 1 year ago

def reverseString(x):
if x == "":
pass
else:
return x[::-1]

print reverseString("Hello")

Achievements
1 Karma
1 Total ProTip Views
Interests & Skills