Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.81 KB

File metadata and controls

35 lines (24 loc) · 1.81 KB

🐍 Python Practice

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.

📁 Contents

  • python_practice.ipynb — hands-on practice notebook covering Python basics

📚 Topics Covered

  • 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 Statementsif, elif, else for decision-making.
  • Loopsfor and while loops, looping through lists with range() and enumerate().
  • 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 Handlingtry, except, else, finally for 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.

🎯 Purpose

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.

🛠️ Tech

  • Python 3
  • Jupyter Notebook

🙋‍♀️ Author

Pusplata Singh 🔗 GitHub · LinkedIn