Challenge 4: String Transformation
This challenge will test your knowledge on string transformation using python.
We'll cover the following...
Problem Statement
Given a getStr()
function, write the necessary sequence of operations to transform the string (containing three literals) in such a way that every literal is tripled respectively.
Input
A string
Output
Triple of every string literal
Sample Input
abc
Sample Output
aaabbbccc
Access this course and 1400+ top-rated courses and projects.