sep, end parameter in python print function()
msp
Posted on July 25, 2024
Today I tried to use the sep, end parameter in the print function.
By default this function will add empty space between the strings. It accepts other than the space as well. Let's try to print Tab, NewLine character and //.
end : By default this parameter contains nothing. we can add any strings/numbers/characters. Let's try to pass the " MSP" string to this parameter.
I use Notepad++ for writing a program, you can use Notepad, Visual studio Code and other text editor as well.
I use windows command prompt to execute the below code.
Result
💖 💪 🙅 🚩
msp
Posted on July 25, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.