Program - removes trailing characters
Topic: Program - removes trailing characters
Solution
word = " xyz " rstrip = word.rstrip() print(f"String ater removal of trailing characters:{rstrip}")
List all Python Programs
Solution
word = " xyz " rstrip = word.rstrip() print(f"String ater removal of trailing characters:{rstrip}")