Introduction To Python Programming - 16 - 10 - 2024
Introduction To Python Programming - 16 - 10 - 2024
In [ ]: --> 12*3 = 36
--> 12*30*20 = 7200
--> 9865*96532*7653*975 --> Complex --> Computer/Calculator
--> 50 Rows in Excel --> Remove Duplicates From Excel --> Easy
--> 50 Million rows in Excel --> Remove Duplicates From Excel --> Complex
Example
In [2]: 9865*96532*7653*975
Out[2]: 7105664905501500
Compilers --> Compilers are used to Convert High Level Code to Machine Code.
Computer Programming --> The Process of Creating set of instructions(Programs) which tells
computer what and how the task needs to done so that computer will
execute that task to get the desired result.
ETC..
Meaning of Syntax
In [ ]: English --> Grammer --> Set of rules for English Language.
Note : We can write instructions in any of the Programming Language but the compiler(Translator) must
know the syntax of that Programming Language.
For Data Science What are the Programming Language which are Preferred?
In [ ]: 1. Python Language --> Most Preferred Language for Data Science --> Python is a General Purpose Language.
2. R Language --> Second Preferred Choice for Data Science --> R is a Language specific to Data Science.
What is Python?
In [ ]: --> Python is a General Purpose High Level Programming Language.
--> General Purpose Language --> We can use Python any where any time(All Rounder)
--> General Purpose means Common Purpose.
Example
In [12]: 98+475+324893
Out[12]: 325466
ETC.....
Editor vs IDE
In [ ]: Editor --> Wherever we are writing a code is nothing but an Editor.
IDES --> Editor+Compiler --> You can write your code and You can run Your Code.
--> All the Files which we are creating in google colab will automatically saved in Google Drive.
--> For first time execution google colab will take little bit of time.
--> The Extension of Google Colab Notebook and Jupyter Notebook is .ipynb(Interactive Python Notebook).
Execute the Code : Triangle inside circle button along with cell.
: Short cut --> Ctrl+Enter
Add More Cell : Click on + Code to get new cell for Coding
For Writing heading Notebook : Click on + Text to get a cell for Heading and Text
Delete a Cell : Click on dustbin button present in a cell.
: Short cut --> CTRL+M