Question: Using Python! Thanks 2. (Strings and Loops, 10pt) Write a function triple(s) that triples each letter in a word and returns the result. E.g. Le
Using Python! Thanks

2. (Strings and Loops, 10pt) Write a function triple(s) that triples each letter in a word and returns the result. E.g. Le Python 3.5.2 Shell File Edit Shell Debug Options Window Help >>> triple( 'hello') 'hhheeel1l1llooo >>> triple( 'world") 'wwwocorrrlllddd" >>> triple( ') TI >>> | Ln: 48 Col: 4 Hint: construct the output string character by character
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
