Skip to content

rahulgoraksha/python-revision-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Python Revision Experiments

This repository is a comprehensive Python revision and experimentation workspace, created while revisiting core Python concepts through structured notes and hands-on practice.

It is based on a complete Python tutorial covering fundamentals to intermediate concepts, with a strong focus on clarity, logic building, and practical coding examples.


📌 Purpose of This Repository

  • Revise core Python concepts
  • Strengthen logical thinking & problem-solving
  • Practice Python using small experiments & examples
  • Serve as a quick reference repo for interviews and daily use

📚 Topics Covered

🔹 Python Fundamentals

  • Introduction to Python
  • Variables & Data Types
  • Type Casting
  • Input / Output Operations
  • Keywords & Identifiers

🔹 Control Flow Statements

  • Conditional Statements
    • if
    • if-else
    • elif
  • Looping Statements
    • for loop
    • while loop
  • Loop control
    • break
    • continue
    • pass

🔹 Data Structures

  • List
    • Creation, indexing, slicing
    • List methods
  • Tuple
    • Immutability
    • Tuple operations
  • Set
    • Unique elements
    • Set operations
  • Dictionary
    • Key-value pairs
    • Dictionary methods

🔹 Strings

  • String creation & indexing
  • String slicing
  • String methods
  • Palindrome checks
  • String to list conversions

🔹 Functions

  • User-defined functions
  • Function parameters
    • Positional arguments
    • *args
    • **kwargs
  • Return statements
  • Built-in functions

🔹 Object-Oriented Programming (OOP)

  • Classes & Objects
  • Constructor (__init__)
  • Attributes & Methods
  • Encapsulation
    • Private variables (__variable)
    • Getter methods
  • Polymorphism
  • Real-world class examples (Student, etc.)

🔹 Exception Handling

  • try
  • except
  • else
  • finally
  • Common runtime errors

🔹 File Handling

  • File modes (r, w, a)
  • Reading and writing files
  • Best practices

🧪 Practice Style

  • Short, focused Python scripts
  • Concept-wise experimentation
  • Beginner-friendly code
  • Clear comments for understanding

🛠 Tools & Environment

  • Language: Python 3
  • Editor: VS Code
  • Learning Source: Structured Python tutorial notes

🎯 Who This Repo Is For

  • Beginners revising Python
  • Students preparing for interviews
  • Anyone wanting a clean Python refresher
  • Self-learners practicing fundamentals

🚀 How to Use

  1. Clone the repository
    git clone https://github.com/your-username/python-revision-experiments.git

About

corner to practise the python scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published