I gave a attribute to the class person and attribute as say_hi after printing its saying no attribute as say_hi in person

Hello @yashsonawane18_29d0f9375c726519,
Your method say_hi is not a member of the class as there is no proper indentation.
So it is considered as separate function.
You have to do like in below:
class

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

thanks sir for solving the doubt