Python getattr function example

Python Built-in Function getattr(): The getattr() is an inbuilt function in Python that is used to get the value of