what is the difference between r+ and w+ if both are for read and write?
Difference between two file handling modes
Hey @nikhil_sarda, the main difference when you use ‘r+’ if file doesn’t exist it will not be created, whereas in ‘w+’ new file will be created.
HOpe this resolved your doubt.
Plz mark it as resolved in my dobuts section.