Anmol Kejriwal added the comment:
According to the doc,
https://docs.python.org/3/library/functions.html#open
The expected output for r+ mode in the program mentioned earlier should be:
123This is python.
This is an easy language.
Anyone can learn this easily
New submission from Anmol Kejriwal :
The file modes a+, r+, w+ should read and write both. But a+ and w+ modes are
not reading anything from the file. The RUN for the program is successful, but
there is no output from the program.
Below is a simple program:
file=open("abcd.txt&quo