01 - Python Introduction

 Python Introduction


Python is an easy to learn, powerful programming language.
Python is high-level data structures and object-oriented programming.


Python commands tested on Ubuntu Server 20.04.2 LTS

Example 1: Check Python version.

$ python3 --version

OUTPUT
Python 3.10.2



Example 2: Enter in REPL.

$ python3

OUTPUT
Python 3.10.2 (main, Jan 27 2022, 11:55:19) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>exit() 

exit() is use to exit from REPL

Example 2: Enter in REPL.


Learn example with Google Colab

https://colab.research.google.com/drive/1fzEOvy-gbPjCWrPsaNwZkvZJ9Dmd4np5?usp=sharing









Previous Post Next Post