Input and Output
Output is anything a program produces: text on a screen, a saved file, a sound. Input is anything a program receives: a typed name, a button click, data from the internet.
In these lessons, print (Python) and console.log (JavaScript) are your output tools. They're how your program talks to you.
Programs run top to bottom, one line at a time. First, then second, then third. The computer never skips ahead and never gets creative. Whatever order you write is the order it runs.
Mark this lesson complete
Signed in, your progress follows you to every device.