In Python's print, sep decides what separates multiple items, and end what follows after, both useful in formatting output. School exams often test predicting output by changing these parameters to trick students. I regret not mastering such basics before my son's friend interviewed me for a bank's digital initiative. They asked me to predict a print output with a custom separator, and I sat silent, thinking only of my paapa in Canada who could explain it in seconds.
#exams#study
Jump in to reply β no account needed.