I need help that removing specified character from non-empty using index character. Test data: wresource

4th Dec 2020, 4:55 AM
Princess Manalo
3 Antworten
+ 5
See Princess Manalo you can remove the nth index character from a Non-Empty string code... Like for example - def remove(string, n): first = string[:n] last = string[n+1:] return first + last string=raw_input("Enter the sring:") n=int(input("Enter the index of the character to remove:")) print("Modified string:") print(remove(string, n)) It was a small example which might help you!Ôťî´ŞĆ
4th Dec 2020, 6:17 AM
Piyush - avatar
+ 1
5th Dec 2020, 2:40 AM
Princess Manalo
Need someone whose willing to help
4th Dec 2020, 4:56 AM
Princess Manalo