Code Experts
Home
Challenges
Notes
Compiler
Forum
Exam
Contact
Sign in
Sign up
Home
Challenges
Notes
Compiler
Exam
Forum
Contact
Log In / Register
Copied To Clipboard !
String Pairs
input a String takes a string s and returns a list of two-paired characters. If the string has an odd number of characters, add an asterisk * in the final pair.
See the below examples for a better understanding:
Notes
Return [] if the given string is empty.
Code :
mubashir
Total :
0 Discussion
Login
Code (Optional)
Upload Code Image (Optional)
Post Your Comment