Question: Write a function called double str that takes a string argument and returns a new string that has all of the same characters as the

Write a function called double str that takes a string argument and returns a new string that has all of the same characters as the argument, except each one is repeated twice. For example: double_str('dog') --> 'ddoogg' Please first write out the steps for your function in pseudocode (2pts) and then write out the steps in actual code (3pts). Your code must work to receive credit. Include a screenshot of your terminal/PowerShell output! It should show that your function does as desired. (1 pt) Once you've posted, respond to another person in your section. Comment on their approach, including one thing you liked about it and whether you would do anything differently. Keep it constructive! (2pts) There is no need to submit a Python script for this discussion, but you are welcome to if you would like. You can just copy and paste your code into the response box
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
