1. data types
1.1. nemeric
1.1.1. float
1.1.2. intger
1.1.3. compex
1.2. non-nemeric
1.2.1. strings
1.2.1.1. values represented under quotes'
1.2.1.1.1. Single quote ' '
1.2.1.1.2. Double quote " "
1.2.1.1.3. Triple quote "' "
1.3. sequential
1.3.1. lest
1.3.1.1. Represented using - [ ]
1.3.1.2. Mutable
1.3.1.3. Ordered
1.3.1.4. indexed
1.3.1.4.1. index starts from '0'
1.3.1.4.2. reverse indexing starts from -1 (the last value will have index -1)
1.3.1.5. Duplication Allowed
1.3.1.6. operations
1.3.1.6.1. Access and Update using the index values
1.3.1.6.2. append()
1.3.1.6.3. pop()
1.3.1.6.4. remove()
1.3.1.6.5. insert()
1.3.1.6.6. sort()
1.3.1.6.7. reverse()
1.3.1.6.8. count()
1.3.2. tuple
1.3.2.1. Represented by - ( )
1.3.2.2. Immutable
1.3.2.3. Ordered
1.3.2.4. Indexed
1.3.2.5. Duplication Allowed
1.3.2.6. Fixed Length
1.3.2.7. operations
1.3.2.7.1. Access using the index values
1.3.2.7.2. len()
1.3.2.7.3. max()
1.3.2.7.4. min()
1.3.2.7.5. '+' (Concatenate tuples)
1.3.3. set
1.3.3.1. items / values of sets are Immutable
1.3.3.2. Unordered
1.3.3.3. Unindexed
1.3.3.4. No Duplication
1.3.3.5. forzen set
1.3.3.5.1. Represented by - { }
1.3.3.5.2. Immutable
1.3.3.6. operations
1.3.3.6.1. add()
1.3.3.6.2. update()
1.3.3.6.3. remove()
1.3.3.6.4. discard()
1.3.3.6.5. pop()
1.3.3.6.6. len()
1.3.3.6.7. clear()
1.3.3.6.8. del()
1.3.3.6.9. union()
1.3.3.6.10. intersection()
1.3.3.6.11. issuperset()
1.3.3.6.12. issubset()
1.3.3.6.13. isdisjoint()
1.3.4. dictionary
1.3.4.1. Represented by - { }
1.3.4.2. key-value pairs
1.3.4.3. Immutable
1.3.4.3.1. keys
1.3.4.4. Unique Values
1.3.4.4.1. keys
1.3.4.5. Mutable
1.3.4.5.1. Values
1.3.4.6. Indexed
1.3.4.6.1. values
1.3.4.7. operations
1.3.4.7.1. update()
1.3.4.7.2. update()
1.3.4.7.3. values()
1.3.4.7.4. copy()
1.3.4.7.5. fromkeys()
1.3.4.7.6. get()
1.3.4.7.7. pop()
1.3.4.7.8. clear()
1.3.4.7.9. len()
1.3.4.7.10. len()
1.3.5. bolean
1.3.5.1. true
1.3.5.2. false
2. Features
2.1. Easy to code:
2.2. Free and Open Source
2.3. Object-Oriented Language
2.4. GUI Programming Support
2.5. High-Level Language
2.6. Extensible feature:
2.7. is Portable language
2.8. is Integrated language
3. History
3.1. Developed by Guido Van Rossum
3.2. First released in 1991
3.3. Name inspired by 'Monty Python's Flying Circus'
4. types of operators
4.1. arithmetic
4.1.1. +
4.1.2. -
4.1.3. *
4.1.4. /
4.1.5. //
4.1.6. **
4.2. relational/comparison
4.2.1. ==
4.2.2. !=
4.2.3. <=
4.2.4. >=
4.2.5. <
4.2.6. >
4.3. assignment
4.3.1. =
4.3.2. +=
4.3.3. -=
4.3.4. *=
4.3.5. **=
4.3.6. /=
4.3.7. //=
4.3.8. %=
4.4. logical
4.4.1. or
4.4.2. and
4.4.3. not
4.5. identity
4.5.1. is
4.5.2. is not
4.6. membership
4.6.1. in
4.6.2. not in
4.7. Bitwise
4.7.1. and &
4.7.2. oR |
5. Variables
5.1. Memory pointers
5.2. Always start with Alphabet
5.3. Can be Alpha Numeric
5.4. Cannot Start with Numbers
5.5. No Special Characters (except '_')
5.6. Case Sensitive
6. conditinal statement
6.1. If Statements
6.2. If - Else Statements
6.3. If - Else - If Statements (elif)
6.4. Nested If Statements
7. loops
7.1. finite loop
7.1.1. Nested If Statements
7.1.2. for loops
7.2. infinite loop
7.2.1. Checks for condition for infinite iterations
7.2.2. while loops
7.3. break
7.3.1. Used to breaks the loop
7.4. pass
7.4.1. Do nothing / Used to execute empty