reate a function called echoeveryN( ) that takes a non-empty string and an integer, n, as input parameters. Return from the function every Nth character from the string. For example, echoeveryN("What...


reate a function called echoeveryN( ) that takes a non-empty string and an integer, n, as input parameters.  Return from the function every Nth character from the string. For example, echoeveryN("What am I going to say here?",3) would return: 'aaIyn'.  An integer that is out of range (0, negative, or too large)  would simply return an empty string ‘ ‘. Do not use any import libraries as part of the solution. It's OK to use IDLE/PyCharm to test your solution.


Another example call :  echoeveryN("hellotheremyfriend",2) would return 'elteeyred'



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here