Python Basics
Concept | Description |
---|---|
Variables | Used to store data values |
Functions | Blocks of code that perform a specific task |
Loops | Execute a block of code repeatedly |
Python Data Types
Data Type | Description |
---|---|
String | Sequence of characters |
Integer | Whole numbers |
List | Ordered collection of items |
Python Control Flow
Statement | Description |
---|---|
If-Else | Execute different code based on conditions |
For Loop | Execute a block of code for each item in an iterable |
While Loop | Execute a block of code using a simple condition |