Core Python - Beginner & List Intro

Python English to Code Interpreter Language --> Line by line execution In Java --> First it will create Binary file which is nothing but .CLASS File and this CLASS file will execute. In python hello.py --> python hello.py ( Execution ) Data Structure How do you store the data ? List , Tuple , Dictionary and Set The value will be stored in the RAM. Identifier is like a LABEL. The Value is stored in the RAM , but to REFER the place in the RAM is called the name. i.e the LABEL --> in the below example. Boolean Let it be like a Question related. None print(None) Continue ... In Python all are Object. What is an Object ? --> Eg., Pen is an Object. Object will have 2 things: Attribute --> Ink or ball point or brand Functionality --> what you are going to do with this Pen ? or Action. How to know about the Object ? For the string , these many objects are there. Data Structures List

Core Python - Beginner & List Intro

Python

  • English to Code
  • Interpreter Language --> Line by line execution
  • In Java --> First it will create Binary file which is nothing but .CLASS File and this CLASS file will execute.
  • In python hello.py --> python hello.py ( Execution )

Data Structure

  • How do you store the data ?
  • List , Tuple , Dictionary and Set
  • The value will be stored in the RAM.
  • Identifier is like a LABEL.
  • The Value is stored in the RAM , but to REFER the place in the RAM is called the name. i.e the LABEL --> in the below example.

Boolean

  • Let it be like a Question related.

None

  • print(None)

Continue ...

  • In Python all are Object.
  • What is an Object ? --> Eg., Pen is an Object.
  • Object will have 2 things:
  1. Attribute --> Ink or ball point or brand
  2. Functionality --> what you are going to do with this Pen ? or Action.

  • How to know about the Object ?

  • For the string , these many objects are there.

Data Structures

List

  • Its a Array
  • Its a Dynamic Array
  • Consecutive storage.
  • In Array , it will be fixed . That means the size , also same datatypes. But in Python we have Dynamic Array.
  • No Fixed Size and any data type.

  • Negative index is also available.

  • Square bracket and position is important.

  • Going to upend a Alphabet.

  • In first position , upend "G". ( Its like moving and inserting the alphabet ) . It won't delete anything .

  • Even you can replace --> vowels[2] = "H"
  • Store all datatypes.

Share