Write a program to enter the titles of the 10 most popular films of the previous year and store them in a text file. You need to create and open the file, add the records and then close the file
filmfile = openWrite("films.txt")
filmTitle = input("Enter film title")
filmfile.writeLine(filmTitle)