Exercise 1: Time to Go Shopping!
In this lesson, you have to make a class called Product and implement various methods in it.
We'll cover the following...
Problem Statement
A class named Product
is given below. You need to define the following in it:
- The class
constructor
that
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy