One of the first commands that you have probably written when you started your journey learning programming was printing a “Hello World” statement:
Did you know that you can print more than just a “Hello World” or other things in a single line?
Yes, we can do that and it is actually pretty easy: All you have to do is write as many items as you want that you want to print inside the print(), as you can see in the following example:
Isn’t that quite useful, especially when you are not willing to write multiple prints and then have to delete all of them later on?
Yes I know, it can be more difficult to read the elements, but it can be useful from time to time.