Explain with examples different read and write methods on a file in Python Example: read and write to file python file = open(“testfile.txt”, “r+”)