Congratulations on landing a new job as a data analyst at a…

Congratulations on landing a new job as a data analyst at a popular retail chain! Your first task involves working with the store’s inventory system, analyzing sales, and managing product records using Python. The following four questions will test your ability to handle these real-world tasks effectively. class ProductClass(): def __init__(self): self.__price = 5.0 self.__onHand = 0 self.__numberOfItems = 10 def main(): prod = ProductClass() print(prod.price) What’s the output in your console? 

What will be the output when the following code is executed?…

What will be the output when the following code is executed? This question evaluates your comprehension of inheritance. (Please be careful with the calculations.) class Student:    def __init__(self):          self.major = ‘business’          self.average = 90    def curve_grade(self):          return self.average + 2 class MIS304Student(Student):    def __init__(self):          super().__init__()          self.average = 95    def curve_grade(self):          return self.average + 5general_student = Student()mis_student = MIS304Student()print(general_student.curve_grade(), mis_student.curve_grade())

Your next task from the manager is to enhance Netflix’s inte…

Your next task from the manager is to enhance Netflix’s internal movie management system by efficiently retrieving specific details about movies stored in a catalog. The movie catalog is implemented as a dictionary, where each key is a unique movie ID, and the value is a Movie object. class Movie:    def __init__(self, title, director, price):        self.title = title        self.director = director       self.price = pricemovie1 = Movie(“Inception”, “Christopher Nolan”, 12.99)movie2 = Movie(“To Kill a Mockingbird”, “Harper Lee”, 9.99)movie_catalog = {}movie_catalog[‘101’] = movie1 movie_catalog[‘102’] = movie2 Using the Movie class and movie_catalog dictionary provided below, write one line of code to access the director “Harper Lee” from the movie_catalog dictionary.