class account:
    'to define account class woth account info and operations'

    #creating static/class variables
    bname  = raw_input("enter bank name : ")

    def __init__(self):
        'to initialise instance variables'
        #declaring/creating instance variables
        self.acno = int(raw_input("enter accont no : "))
        self.acname = raw_input("enter accont h name : ")
        self.acbal = float(raw_input("enter accont blance : "))
        
 
    
    def setaccountinfo(self):
        'to initialise account info'
        #declaring/creating instance variables
        self.acno = int(raw_input("enter accont no : "))
        self.acname = raw_input("enter accont h name : ")
        self.acbal = float(raw_input("enter accont blance : "))
    
    def getaccountinfo(self):
        'to display account detail'
        print("--accont detail--")
        print("ac  no : %d" %self.acno)
        print("ac h name : %s" %self.acname)
        print("ac  balance : %0.2f" %self.acbal)
        print("bankname : %s" %account.bname)

    def withdraw(self, amt):
        'to withdraw the amount fro the account'
        if self.acbal >= amt:
            self.acbal -= amt
            print("balance after withdraw : %0.2frs" %self.acbal)
        else:
            print("insufficient balance")

#creating an object
print( account.bname )
ac1 = account()
ac2 = account()
ac1.getaccountinfo()
ac2.getaccountinfo()
ac1.withdraw(5000)

79f72871b84abe662d35840e1283341206ecc088
class account:
    <mask token>
    <mask token>

    def __init__(self):
        """to initialise instance variables"""
        self.acno = int(raw_input('enter accont no : '))
        self.acname = raw_input('enter accont h name : ')
        self.acbal = float(raw_input('enter accont blance : '))

    def setaccountinfo(self):
        """to initialise account info"""
        self.acno = int(raw_input('enter accont no : '))
        self.acname = raw_input('enter accont h name : ')
        self.acbal = float(raw_input('enter accont blance : '))

    def getaccountinfo(self):
        """to display account detail"""
        print('--accont detail--')
        print('ac  no : %d' % self.acno)
        print('ac h name : %s' % self.acname)
        print('ac  balance : %0.2f' % self.acbal)
        print('bankname : %s' % account.bname)
    <mask token>


<mask token>

class account:
    <mask token>
    <mask token>

    def __init__(self):
        """to initialise instance variables"""
        self.acno = int(raw_input('enter accont no : '))
        self.acname = raw_input('enter accont h name : ')
        self.acbal = float(raw_input('enter accont blance : '))

    def setaccountinfo(self):
        """to initialise account info"""
        self.acno = int(raw_input('enter accont no : '))
        self.acname = raw_input('enter accont h name : ')
        self.acbal = float(raw_input('enter accont blance : '))

    def getaccountinfo(self):
        """to display account detail"""
        print('--accont detail--')
        print('ac  no : %d' % self.acno)
        print('ac h name : %s' % self.acname)
        print('ac  balance : %0.2f' % self.acbal)
        print('bankname : %s' % account.bname)

    def withdraw(self, amt):
        """to withdraw the amount fro the account"""
        if self.acbal >= amt:
            self.acbal -= amt
            print('balance after withdraw : %0.2frs' % self.acbal)
        else:
            print('insufficient balance')


<mask token>

class account:
    <mask token>
    bname = raw_input('enter bank name : ')

    def __init__(self):
        """to initialise instance variables"""
        self.acno = int(raw_input('enter accont no : '))
        self.acname = raw_input('enter accont h name : ')
        self.acbal = float(raw_input('enter accont blance : '))

    def setaccountinfo(self):
        """to initialise account info"""
        self.acno = int(raw_input('enter accont no : '))
        self.acname = raw_input('enter accont h name : ')
        self.acbal = float(raw_input('enter accont blance : '))

    def getaccountinfo(self):
        """to display account detail"""
        print('--accont detail--')
        print('ac  no : %d' % self.acno)
        print('ac h name : %s' % self.acname)
        print('ac  balance : %0.2f' % self.acbal)
        print('bankname : %s' % account.bname)

    def withdraw(self, amt):
        """to withdraw the amount fro the account"""
        if self.acbal >= amt:
            self.acbal -= amt
            print('balance after withdraw : %0.2frs' % self.acbal)
        else:
            print('insufficient balance')


<mask token>

class account:
    """to define account class woth account info and operations"""
    bname = raw_input('enter bank name : ')

    def __init__(self):
        """to initialise instance variables"""
        self.acno = int(raw_input('enter accont no : '))
        self.acname = raw_input('enter accont h name : ')
        self.acbal = float(raw_input('enter accont blance : '))

    def setaccountinfo(self):
        """to initialise account info"""
        self.acno = int(raw_input('enter accont no : '))
        self.acname = raw_input('enter accont h name : ')
        self.acbal = float(raw_input('enter accont blance : '))

    def getaccountinfo(self):
        """to display account detail"""
        print('--accont detail--')
        print('ac  no : %d' % self.acno)
        print('ac h name : %s' % self.acname)
        print('ac  balance : %0.2f' % self.acbal)
        print('bankname : %s' % account.bname)

    def withdraw(self, amt):
        """to withdraw the amount fro the account"""
        if self.acbal >= amt:
            self.acbal -= amt
            print('balance after withdraw : %0.2frs' % self.acbal)
        else:
            print('insufficient balance')


print(account.bname)
<mask token>
ac1.getaccountinfo()
ac2.getaccountinfo()
ac1.withdraw(5000)

class account:
    'to define account class woth account info and operations'

    #creating static/class variables
    bname  = raw_input("enter bank name : ")

    def __init__(self):
        'to initialise instance variables'
        #declaring/creating instance variables
        self.acno = int(raw_input("enter accont no : "))
        self.acname = raw_input("enter accont h name : ")
        self.acbal = float(raw_input("enter accont blance : "))
        
 
    
    def setaccountinfo(self):
        'to initialise account info'
        #declaring/creating instance variables
        self.acno = int(raw_input("enter accont no : "))
        self.acname = raw_input("enter accont h name : ")
        self.acbal = float(raw_input("enter accont blance : "))
    
    def getaccountinfo(self):
        'to display account detail'
        print("--accont detail--")
        print("ac  no : %d" %self.acno)
        print("ac h name : %s" %self.acname)
        print("ac  balance : %0.2f" %self.acbal)
        print("bankname : %s" %account.bname)

    def withdraw(self, amt):
        'to withdraw the amount fro the account'
        if self.acbal >= amt:
            self.acbal -= amt
            print("balance after withdraw : %0.2frs" %self.acbal)
        else:
            print("insufficient balance")

#creating an object
print( account.bname )
ac1 = account()
ac2 = account()
ac1.getaccountinfo()
ac2.getaccountinfo()
ac1.withdraw(5000)
