Program
- Is set of instructions and all necessary values will be stored in memory.
- To specify the size of memory to be allocated, languages use data types.
- Depending on data type, your memory size might be
- static
- dynamic
- depending on type (Static/dynamic) when we change value same memory can be used in static and new memory is required in dynamic.
- static data types lead to mutable memory and dynamic data types lead to immutable memory
References
REPL in python
- REPL stands for Read Evaluate Print and Loop
- To launch repl open terminal and type
python

Data types
- Refer Here for programiz
- Prompt
you are an expert in python.
I'm a beginner learning python.
Explain me what datatypes are, different datatypes in python.
When to use what with examples one after another
-
Languages can be categorized as two types
- statically typed programming languages (c, C++, java, C#)
- dynamically typed programming languages (python, javascript)
-
Common datatypes
- numbers:
- integers
- float
- vectors
- text
- string
- boolean
- numbers:
-
Variable: A variable refers to a memory location with an alias
age = 24
# allocate memory for 24 and i would be referring that with age
name = 'ram'
# allocate memory for 'ram' and i would refer that as name
