Certainly! In Python, we can demonstrate multiple inheritance by creating a base class for subjects and a derived class to calculate the average marks. Below is an example of a Python program that uses multiple inheritance to compute the average marks of six subjects:
```python
# Base class for Subject
class Subject:
def __init__(self, name, marks):
self.name = name
self.marks = marks
# Another base class for Student
class