Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
Python : Variables and Expressions


Exam Papers Problems

B04C #6144

( As In Exam - CBSE12A-2018 )

Considering the following definition of class MULTIPLEX, write a method in py

Considering the following definition of class MULTIPLEX, write a method in python to search and display all the content in a pickled file CINEMA.DAT, where MTYPE is matching with the value ‘Comedy’.

class MULTIPLEX:
    def __init__(self,mno,mname,mtype):
        self.MNO = mno
        self.MNAME = mname
        self.MTYPE = mtype
    def Show(self):
        print self.MNO:"*",self.MNAME,"$",self.MTYPE



Exam Paper Problems:1 
Back