Python 3 Easy-to-understand Better than 95%
\n\nclass Solution:\n    def lemonadeChange(self, bills: List[int]) -> bool:\n        change5=0\n        change10=0\n        change20=0\n        for i in range(
\n```\nclass Solution:\n    def lemonadeChange(self, bills: List[int]) -> bool:\n        change5=0\n        change10=0\n        change20=0\n        for i in range(len(bills)):\n            if bills[i]==5:\n                change5+=1\n            elif bills[i]==10:\n                change10+=1\n                change5-=1\n            elif bills[i]==20:\n                if change10>0 :\n                    change5-=1\n                    change10-=1\n                else:\n                    change5-=3\n                change20+=1\n            if change5<0 or change10<0 or change20<0:\n                return False\n        return True\n```
['Python', 'Python3']