Embed presentation
Download as PDF, PPTX









The document discusses various string and file handling methods in Python including strip(), rstrip(), and lstrip() which remove characters from the ends of strings. It also covers appending to a file, which allows adding new data to a file while retaining existing contents. Finally, it provides examples of programs - one to get student roll numbers, names, and marks from the user, and another that adds details for two additional students to the first program.







