I have just recently started learning about File Handling in python. But I got stuck into a problem. As mentioned in my textbook
In append mode, both reading and writing operations can take place.
But when I tried this code:
with open('first.txt','a+') as f:
print(f.read())
I'm getting no output. What should I do to print the contents in append mode??