Computer Science - Object-Oriented Programming - Classes and objects - Build-a-Pet Workshop

A pet creation quiz: Q1: 'What type of pet?' (Dog/Cat/Bird/Fish). Q2: 'What's its name?' (text input). Q3: 'How old?' (number). Q4: 'What's its special skill?' (fetch/purr/sing/bubble). After answering, display the pet as a Python class definition: 'You just created: class Pet: def __init__(self, ty

Edodovivmagarwal
Computer Science - Object-Oriented Programming - Classes and objects - Build-a-Pet Workshop
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Object-Oriented Programming - Classes and objects - Build-a-Pet Workshop

vivmagarwal
vivmagarwalJan 29, 2026

Description

A pet creation quiz: Q1: 'What type of pet?' (Dog/Cat/Bird/Fish). Q2: 'What's its name?' (text input). Q3: 'How old?' (number). Q4: 'What's its special skill?' (fetch/purr/sing/bubble). After answering, display the pet as a Python class definition: 'You just created: class Pet: def __init__(self, ty

Details

Computer ScienceObject-Oriented ProgrammingClass 9, Class 9, Stage 9, Grade 9

Engagement

14

Likes

0

Remixes

0

Comments