planet-class-simulation

Planet Class Simulation

A beginner-friendly Python project that demonstrates Object-Oriented Programming (OOP) concepts through a Planet class.

The project models planets with attributes such as name, planet type, and star, while implementing methods to describe planetary behavior and validate data.

Features

Concepts Used

Example Output

Planet: Earth Type: Terrestrial Star: Sun

Earth is orbiting around Sun…

Planet: Venus Type: Terrestrial Star: Sun

Venus is orbiting around Sun…

Planet: Jupiter Type: Gas Giant Star: Sun

Jupiter is orbiting around Sun…

Learning Outcomes

This project helped practice: