Write a code in python and follow these steps:
- Define a class name Person
- Define __init__ method and pass title,name,surname
- Define print class to print details
- Use rasie function to include error statment
Solution:
Mr. shivam choubey is mater of sciecne Dr. shivam choubey is mater of sciecne ('Mr', 'Mrs', 'Dr', 'Ms') ('Mr', 'Mrs', 'Dr', 'Ms')
0 Comments
If you have any doubt and suggestion Please let me know