The print command

When using the print command, can i use the concatenation “+” operator to print variables, instead using the print command twice.

Hello, @text7636777695! Welcome to the forum. Most likely yes you can. Different languages have different syntax, but every language has methods for doing what you describe. If you are referencing Python in your question for example:

a = "Hello, "
b = "text7636777695"
c = "!"
print (a + b + c)


Hello, text7636777695!

thanks for the clear explanation@midlindner

1 Like