Advanced Programming with Python

1 Write a program in Python that displays actions such as union, delete, and display on sets.

The order of the members does not matter in the sets. Run this program several times and interpret the outputs.

File Download
2 Write a program in Python that shows how to use the dictionary data type.

Dictionary data type is based on index/value. Index and value can accept a variety of data types.

File Download
3 Write a program in Python that shows that the function can have multiple values of the Tupel type.

Usually, in other popular languages, it has a value function.

File Download
4 Write a program in Python that shows that the function can output multiple values of the list type.

Usually, in other popular languages, it has a value function.

File Download
5 Write a program in Python that shows that the function can output multiple values of the dictionary type.

Usually, in other popular languages, it has a value function.

File Download
6 Write a program in Python that defines a person's class and builds and uses an object.

Use the date/time library to calculate a person's age. The class has a constructor. The person's age is calculated based on the difference between the current date and the date of birth.

File Download
7 Write a program in Python that defines a class for the car and defines and uses an object of the car class.

Define a constructor for the class. Define in-class attributes privately. Use the set and get methods to access private attributes.

File Download
8 Write a program in Python that inherits student and teacher classes from the person.

The constructor method for specific classes uses the general class constructor method. Use output based on a specific format.

File Download
9 Write a program in Python that the Employee class inherits from the person and uses the overriding property to identify the employee.

Overriding property: methods have the same name and signature, - Recognize the implementation of the desired method based on the object

File Download
10 Write a program in Python that shows how to use the constructor between classes if inherited.

Demonstrate constructive priority between parent and child class

File Download
Document