I wanted to ask does anyone know, why does thonny read file if you write 'r' after the file like in class professor showed to read the file or to put it in reading mode you need to do this:
file = open('rooster.txt', 'r')
but why does it do that from 'r' it you see do this to anything else it just prints out r?
And same for writing the file 'w'
Please let me know!!
Thank you in advance!!!