Skip to content

Add PyBe Discovery Lab ( Decorators ) submission by Pradeep Mishra - #49

Open
pradeep-code1 wants to merge 1 commit into
vicharanashala:mainfrom
pradeep-code1:pradeep-project-submission
Open

Add PyBe Discovery Lab ( Decorators ) submission by Pradeep Mishra#49
pradeep-code1 wants to merge 1 commit into
vicharanashala:mainfrom
pradeep-code1:pradeep-project-submission

Conversation

@pradeep-code1

Copy link
Copy Markdown

Project Submission

Name

Pradeep Mishra

Project Title

PyBe Discovery Lab — The Gates of Rajgad

Topic Covered

Python Decorators

Project Overview

This project is an interactive, story-driven learning module designed to teach the concept of Python Decorators in an engaging and beginner-friendly way.

Instead of introducing decorators through abstract programming examples, the project explains the concept using the historical security protocol of Rajgad Fort (1665 CE). The learner first understands the story and then discovers how it maps directly to the execution flow of a Python decorator.

Learning Objective

The project demonstrates the three execution phases of a Python decorator:

  • BEFORE – Authentication and verification by Subedar Yesaji Kank
  • MAIN FUNCTION – Messenger delivers the royal message
  • AFTER – Exit is recorded in the Rojkird (official fort ledger)

This helps beginners understand the decorator execution sequence:

BEFORE → MAIN FUNCTION → AFTER

Features

  • Story-first learning approach
  • Interactive historical narrative
  • Beginner-friendly explanation of Python Decorators
  • Story-to-code mapping
  • Interactive quiz with guided feedback
  • Syntax-highlighted Python code
  • Re-runnable code execution simulation
  • Responsive user interface
  • Smooth animations and transitions
  • Canvas-based particle effects

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (Vanilla)
  • Canvas API
  • Google Fonts

Submission Notes

This project was created as part of the PyBe (Python Beginner Experience) Summership Program.

The focus of this submission is to make the concept of Python Decorators easy to understand through storytelling, interactive learning, and visual explanation.

Thank you for reviewing my submission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant