This video walks through a simple Python program that displays to the console & gets input from the user.
0:26 - Our example program
0:31 - Line 1 - a comment
1:16 - Line 2 - displaying output to the console
1:45 - Line 3 - getting input from the user and storing it in a variable
2:28 - Line 4 - more ouutput, this time using an f-string to display the variable's contents
3:00 - Executing the program in VS Code
3:31 - Executing the program in a terminal
Download
0 formats
No download links available.
A First Python Example Using print & input | NatokHD