👤

Write a complete python program that includes a function, ModifyString, that accepts a string and an index x as arguments. This function should remove the character with index x from the string and generates the modified string (without this character). Instructions: The program should prompt the user to enter a string. - The string should be non-empty. The index x should be in the string index range, otherwise you should print the proper message. - You should include your code and a snapshot of the output in your answer. -​

© 2024 IDNLearn. All rights reserved.