Console Input and Output
Learn how to get user data from standard inputs and display the results on standard outputs or on our console.
Console input and output
Python and PowerShell are both interactive scripting languages that can capture user data from standard inputs and display the results on standard outputs or on our console. In this lesson, we are going to look into some of the approaches and best practices to read and print to PowerShell and Python consoles.
Printing to console
Python provides a built-in function, print()
, which by default prints the value passed to the standard output or any other specified stream.
Get hands-on with 1400+ tech skills courses.