Last answered:

26 Dec 2023

Posted on:

22 Dec 2023


Resolved: what is that mean in the function (end='\n\n')


may i know what i told to do by typing (,end='\n\n' )at the end of the function?


1 answers ( 1 marked as helpful)
Posted on:

26 Dec 2023


Hi Amal,

'end' is an argument of the print function which dictates what the printed statement should finish with. By default it states a single '\n' which creates a new line. What you see in the video is simply creating two new lines by repeating the same character. Hope that helps! 

Submit an answer