This Storage Coffee Table Has Drew Barrymore's Stamp of Approval — And It Brings Secret Storage to Your Living Room

MSN: Modular Coffee Tables Just Might Be The Secret To Declutter Your Living Room While Offering Seats

Modular Coffee Tables Just Might Be The Secret To Declutter Your Living Room While Offering Seats

Add Yahoo as a preferred source to see more of our stories on Google. When you buy through links on our articles, Future and its syndication partners may earn a commission. This coffee table features ...

What does end=' ' in a print call exactly do? Asked 12 years, 5 months ago Modified 2 years, 2 months ago Viewed 75k times

What does end=' ' in a print call exactly do? - Stack Overflow

The default value of end is \n meaning that after the print statement it will print a new line. So simply stated end is what you want to be printed after the print statement has been executed

The end=' ' is just to say that you want a space after the end of the statement instead of a new line character. In Python 2.x you would have to do this by placing a comma at the end of the print statement.

Me imagino que estás hablando del parámetro end en un print()? Sirve exactamente para hacer lo que dices, por defecto, el caracter final del print es \n, o sea un salto de línea. Puedes reemplazarlo por cualquier otro, con '' simplemente no se hace el salto de línea y cada cadena impresa se muestra concatenada.