def fwrite(filename: str, content, mode: str='w', coding: str='utf8'):
    """ Write the file that has the filename with content.
        Default mode: "w"
        Default coding: utf8."""
    with open(filename, mode, encoding=coding) as file:
        if type(content) != str:
            content = repr(content)
        file.write(content)
