There are various modes in a file which include read, write,append etc. r+ and w+ are also among them. But what is the difference between them?
I was trying to play around with various modes in files in python. But I couldn't get the difference between r+ and w+.