❌

Normal view

There are new articles available, click to refresh the page.
Before yesterdaymsprabhu

sep, end parameter in python print function()

By: msp
25 July 2024 at 15:00

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.

Image description

Result

Image description

❌
❌