print()
Last updated
Last updated
Each print()
command does two things: displays a value to the user AND moves the cursor down to the next line
However - we can modifiy the end of our print command
Explain the output that you can see.
So what does , end =
do??
So far we have been joining strings using the +,
but for a print statement we can display more than one piece of data without having to join.
Consider this output from the visualizer
We are no longing combining strings to create a new string - we are displaying different data types and commands to the user by connecting pieces with a ,