Python Tutorial For Beginners- Part-03- Interactive Shell

preview_player
Показать описание
Python Tutorial For Beginners- Part-03- Interactive Shell

Python Shell
Python standard installation comes with an IDLE an IDE (Integrated Development Environment) and

a Python Interactive Shell, usually called as Python Shell.

With which you can write, run, and debug code.

There are multiple ways to run Python code, which are discussed in later section.

In this section we will cover Python Interactive Shell.

Here in this section let’s use Python as a calculator.

Lets get started.

On Windows.

1. From start menu find Python 3.x program,

2. Under Python 3.x click on IDLE(Python 3.x xxxx) or Python 3.7 (32-bit)

it will invoke a Python shell

Now the Python shell is started.
try with it, type some numbers, arithmetic expressions.

Python shell, is a REPL

R- Read input

E- Evaluate

P - Print the result

L- Loop back

Type some thing on interactive shell,
try some basic math expression, 2 + 2, 3 -1, 3 * 2 etc

type help() and check the result, press q to quit help()

Just Learn Python

All about Python programming,

In this channel you will find videos related various Python programming topics,

Like tutorials, Exercises, code snippets, Projects, tips and tricks of Python,

Python best practices , Python tutorials, Real life examples, coding practices, interview questions.
Рекомендации по теме