Python f.write function [closed]

The \n and \t characters are interpreted as linefeed and tab respectively
So, the output would be as follows:

username:Mo
ty
password:Py hon

Leave a Comment