Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🐍 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 Statements β€” if, elif, else for decision-making.
  • Loops β€” for 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 Handling β€” try, 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

About

basic python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages