# -*- coding: utf-8 -*-
"""
Created on Sat Jan 23 06:45:14 2021
topic: classes doc string and variables
@author: anil
class father():
'''This is the father class developed by praveen
inside addition method is there
inside sub method is there
inside mul method is there
inside div method is there
'''
def __init__(self):
print("this is father class default constructor")
help(type(self))
father()
print(father.__doc__)
help(father)
b=10
class father():
'''This is the father class developed by praveen
inside addition method is there
inside sub method is there
inside mul method is there
inside div method is there
'''
global b
def __init__(self):
a = 10
self.name="praveen"
print(self.name)
print(a)
print(b)
def display():
print(b)
#father()
father.display()
#print(a)
"""
b=30
c=10
class father():
global b
def __init__(self):
a = 10
self.name="praveen"
#print(self.name)
#print(a)
#print(b)
b =20
print(b)
b=50
def display():
print(b,c)
father()
print("this is display method inside values")
father.display()
print("a",a)
#print(a)