A collection of Jupyter notebooks where I practice core Python concepts β from variables and loops to functions, error handling, and file operations β as I build my Python fundamentals.
python_practice.ipynbβ hands-on practice notebook covering Python basics
- Variables & Print Formatting β string concatenation, f-strings, and comparing readability approaches.
- Numbers & Math Operators β integers, floats, and arithmetic operations (
+,-,*,/,//,%,**); - User Input β taking input at runtime with
input(). - Conditional Statements β
if,elif,elsefor decision-making. - Loops β
forandwhileloops, looping through lists withrange()andenumerate(). - Lists β creating, indexing, slicing, negative indexing, step slicing, and common list methods (
append(),remove(),pop()). - Functions β simple functions, parameters, return values, positional/keyword arguments, and default values.
- Error Handling β
try,except,else,finallyfor graceful error handling. - Dictionaries β key-value pairs, accessing/updating/removing items, looping through dictionaries.
- Nested Data Structures β lists inside dictionaries and dictionaries inside dictionaries.
- File Handling β opening files and understanding read/write/append modes.
This repo is where I experiment and reinforce concepts while learning Python not polished projects, just consistent, hands-on practice. Adding some basic fundamental to know before starting python coding practice.
- Python 3
- Jupyter Notebook