Hello World 15 👌
We can use the print command to display numbers, text and characters to the console. In text based programs, the console is the main interface that we use to allow our program to interact with the user. Other ways that we interact with users include sound and files, but we will deal with these in later lessons.
Typical uses for the print command inlude:
To use the print command, type:
1print(<something to output to console>)
Some examples are:
1print("Hello World")
2print(10 + 5)
Hello World 15