This is a simple Python project focused on fruits.
This project contains a Python script that defines a Fruit
class. Each Fruit
object has attributes such as name, color, and taste. The script creates instances of the Fruit
class for various fruits like apple, banana, and orange, and prints out descriptions of each fruit.
To run the script, simply execute fruit_project.py
using Python.
python fruit_project.py