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