2.0: 💬 Input and Output

Lesson

2.0: 💬 Input and Output

Being able to interact with programs is very important, as we often need to give them information and be able to return that information once we have processed it. Within python we have two main commands which will allow us to do this: print() and input(). As the names imply the print() function will allow us to print text onto the screen/console. Conversely, input() allows us to enter information into the program which can be stored as a variable and be processed.

@

Not recently active