Skip to content

Printing text and numbers

Read · 1 of 5

+ joins text

Put text in double quotes. + joins pieces together: "Score: " + 42 prints Score: 42.

Numbers without quotes are maths: 7 + 3 is 10. print (without ln) doesn't start a new line afterwards.