Explanation
In Python, when you open a file using the open() function without specifying a mode, the default mode is 'r', which stands for "read." Therefore, if you don't explicitly provide a mode, Python assumes you want to open the file for reading.