Give a suitable example using Python code to illustrate single level inheritance considering COUNTRY to be BASE class and STATE to be derived class.
Class COUNTRY: statejist = [ ]
definit(self, name):
self.name = name class state (COUNTRY):
definit(self, name, capital): super ( ).init(name)
self.capital = capital