Gen-AI Developer Classroom notes 14/Sep/2025

Language

  • Natural Language
  • Formal Language: are designed for computing purposes.

Execution

  • Python executes the code line by line
  • Python tries to request memory from os

Purpose of Datatypes

  • Datatypes indirectly are used to allocate memory
  • Programming Languages are of two types depending on how they deal with datatypes
    • Static Typed Language: We need to be explicit about the datatype
      • Language Examples: C, C++, C#, Java …
      • code examples
        c
        int i = 5;
        float x = 5.1;
    • dynamic typed Languages: Intepreter will decide the type based on value passed
      • Language Examples: Python, bash
      • code examples
        python
        i = 5
        x = 5.1

Python REPL (Read Evaluate Print Loop)

  • Launch your terminal & type python
    Preview
  • Explore assignment and its types
    Preview

Jupyter Notebook

  • A document based environment where code, output, and rich text (Markdown)
  • Ensure you have vscode extension of jupyter notebook
  • Note: I will be creating jupyter notebooks in Visual Studio Code or Google Colab

Datatypes in python

  • Refer Here for python datatypes
    Preview

  • Numeric Data types:

    • int
    • float
    • complex
      Preview

Operators in python

  • Refer Here for operators

  • Refer Here for the notebook with numeric datatypes, arthimetic and assignment operators

References

You are an expert in Python, I'm a beginner and I want you to explain, give examples and exercise on the topics which i would enter

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading