Find the scope error in this invoice class.
Python
currency = "EUR"
class Invoice:
currency = "USD"
def render(self):
return f"{currency} {self.total}"
currency = "EUR"
class Invoice:
currency = "USD"
def render(self):
return f"{currency} {self.total}"