Question: For Python 3 Write a function that takes a string argument and prints the index, a colon, and the character at that index. Prompt the
For Python 3
Write a function that takes a string argument and prints the index, a colon, and the character at that index. Prompt the user for a string and call the function with the string the user enters as an argument.
Here is how a call to the function should work.
print_it("hello") 0: h 1: e 2: l 3: l 4: o Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
