please solve it as Python, use recursion

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

please solve it as Python, use recursion

Post 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 24 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 ’ ​
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply