TCS Xplore CPA Python Coding Question -1 with Solution

In this post, we will see Python Coding Question asked in TCS Xplore CPA with Solution. Create a class Painting with the below attributes: paintingID: string type painterName: string type paintingPrice: int type painting type: string type create constructor (__init__ method) which takes all the above attributes in the same sequence. Method will set the […]