Files 2

Write a function write_file that takes a filename as input and prints “first line” and “second line” into this file.

Output file

    eerste regel
    tweede regel