Python tutorial 04 | Python REPL

preview_player
Показать описание
Hey everyone, welcome back to the Ok Dev channel! Today, we're diving into Python REPL. If you're new to programming, this is the perfect place to start.
Let's open a terminal window. Click terminal, and then select New terminal.
Type py and just press enter. You see the three arrows. We can actually run Python commands right here at this prompt. This is the Python REPL. And that stands for read, evaluate, print, loop. And we can just put in a command.
Python, for example, can be a calculator. So I can press three plus two, press enter, and it outputs five.
Another example x equals 2 y equals 6 x plus y, and it outputs eight.
Рекомендации по теме