
class Money(object):

    def __init__(self, amount, currency):
        self.amount = amount
        self.currency = currency.upper()



class Money(object):

    def __init__(self, amount, currency):
        self.amount = amount
        self.currency = currency.upper()

    def __repr__(self):
        return "%.2f %s" % (self.amount, self.currency)

Add reprensation method for Money class
Add reprensation method for Money class

  
  class Money(object):
  
      def __init__(self, amount, currency):
          self.amount = amount
          self.currency = currency.upper()
  
+     def __repr__(self):
+         return "%.2f %s" % (self.amount, self.currency)
  
Add reprensation method for Money class
## Code Before:

class Money(object):

    def __init__(self, amount, currency):
        self.amount = amount
        self.currency = currency.upper()


## Instruction:
Add reprensation method for Money class
## Code After:

class Money(object):

    def __init__(self, amount, currency):
        self.amount = amount
        self.currency = currency.upper()

    def __repr__(self):
        return "%.2f %s" % (self.amount, self.currency)
