Ruby - File IO
You want to create a Ruby script that reads a file
notes.txt, appends the line "New note added", and then reads the updated content to print it. Which sequence of file modes should you use?