Page 1 of 1

please solve it as Python, use recursion

Posted: Thu Jul 14, 2022 2:17 pm
by answerhappygod
please solve it as Python, use recursion
Please Solve It As Python Use Recursion 1
Please Solve It As Python Use Recursion 1 (46.54 KiB) Viewed 25 times
Function Name: findPassword() Parameters: encryption ( str) Returns: correct password ( str ) Description: You have accidentally messed up your phone password with a bunch of random letters and special characters. Given a string of both letters and special characters/numbers, use recursion to concatenate the digits into a single string and return it. Hint: .isdigit() returns whether a character is a number or not. ≫> findPassword (′0$3j$%∧06#s!7!h′)′0367 ’ ​