📄️ Introduction
Python
📄️ Variables & Data types
In python variables are containers for storing data values, and data types define the type of data that a variable can hold. Python is dynamically typed, meaning you don't need to declare the type of a variable explicitly - the type is inferred at runtime.
📄️ Strings
Python String Methods
🗃️ Data Structures
4 items
📄️ Conditional Statements
Conditional statements in python are used to execute code blocks based on whether a condition evaluates to True or False. They include if, if-else and if-elif-else statements.
📄️ Iterative statement
- for loop: Used for iterating over a sequence (like a list, tuple, dictionary, string, or range).
📄️ Functions
In Python, a function is a block of reusable code that performs a specific task. Functions help to organize code, make it more readable, and allow you to avoid repetition. Functions can accept inputs (parameters) and can return outputs.
🗃️ Oops
5 items
📄️ Exceptions
The try, except, and finally keywords are used in Python for exception handling. Together, they allow you to manage errors gracefully and ensure that cleanup or finalization code is executed no matter what happens in the try block.
📄️ QnA
1. What is python?