1. Number: 1234, 3.1415, 3+4j, 0b1111, Decimal(), Fraction()
    Examples of numbers, including integers, floats, complex, binary, Decimal, and Fraction.

  2. String: 'spam', "Bob's", b'a\x01c', u'sp\xc4m' Examples of strings, including regular, byte, and unicode strings.

  3. List: [1, [2, 'three'], 4.5], list(range(10)) List examples, including nested lists and lists generated from a range.

  4. Tuple: (1, 'spam', 4, 'U'), tuple('spam'), namedtuple Examples of tuples, including a basic tuple, a tuple from a string, and namedtuple.

  5. Dictionary: {'food': 'spam', 'taste': 'yum'}, dict(hours = 10) Dictionary examples, including key-value pairs and using dict() to create a dictionary.

  6. Set: set('abc'), {'a', 'b', 'c'} Examples of sets, including a set created from a string and a set using curly braces.

  7. File: open('eggs.txt'), open(r'/home/gajen/user.txt', 'wb') Examples of working with files, opening files for reading and writing in binary mode.

  8. Boolean: True, False Examples of boolean values.

  9. None: None Example of None, used to represent the absence of a value.

  10. Functions, modules, classes
    These represent functions, modules, and classes used in Python.

  11. Advanced: Decorators, Generators, Iterators, MetaProgramming Advanced Python concepts like decorators, generators, iterators, and metaprogramming.


Note: Things to know as a programmer.

  1. [] = brackets
    Brackets are used for lists and indexing.
  2. () = parentheses
    Parentheses are used for function calls and grouping expressions.
  3. {} = braces/curly braces
    Curly braces are used for dictionaries and sets.