• + 0 comments

    First thing to know is that the print() function can take mutilple paramerters :

    • object - Your string or variable where you have stored some value
    • seperator character - The character you want to use to seperate "objects"
    • end character - Character that follows the object(s)
    • output format - Where you want to Print/Write default sys.stdout
    • flush option - Boolen to flush or not default False

    '\n' is a special character that means new line. Thus sep= '\n' means seperate each object with a new line.