Spot the bug in the invoice renderer

from Scope and namespaces
Python 3.14 intermediate 4 min 1 issue to find

Find the scope error in this invoice class.

Python
currency = "EUR"

class Invoice:
    currency = "USD"

    def render(self):
        return f"{currency} {self.total}"
Open in playground
Report an error