Advanced Programming with Python

1 Write a program that demonstrates working with text files.

Use the os library.

File Download
2 Write a program that performs mathematical operations such as squared, logarithm, factorial, sine, and so on.

Use the math library.

File Download
3 Write a program that performs statistical operations such as mean, median, standard deviation, and mode.

Use the statistics library.

File Download
4 Write a program that demonstrates working with collections.

Use the collections library.

File Download
5 Write a program that shows how to work with the list of collections.

Use the collections library.

File Download
6 Write a program that simply displays a polymorphic property.

File Download
7 Write a program that shows working with a list of objects from different but homogeneous classes.

The Indian and Japanese classes are considered to be two classes of the same nature.

File Download
8 Write a program that displays a list of homogeneous classes and displays the method call from that list inside the loop.

Classes India, Japan, and Iran are assumed to be three classes of the same nature.

File Download
9 Write a program whose subroutine takes a public object as an argument and calls its methods.

Classes India, Japan, and Iran are assumed to be three classes of the same nature.

10 Write a program that inherits sparrow and ostrich classes from the bird class.

Explain the property of overriding.

File Download
11 Write a program in which the employee class has a constructive and destructive method.

Pay attention to the time and place of calling constructive and destructive methods, as well as the automatic nature of the calls.

File Download
12 Write a program that explains the time and place of the destructive method in the employee class.

File Download
Document