Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ addPoints
Method
addPoints
recipes/Python/580811_Uno_TextBased/recipe-580811.py:89–91 ·
view source on GitHub ↗
(self, amount)
Source
from the content-addressed store, hash-verified
87
return
len(self.legalCards) > 0
88
89
def
addPoints(self, amount):
90
if
(self.points + amount) <= 999999999999999999999:
91
self.points += amount
92
93
def
removeCard(self, index):
94
return
self.hand.removeCard(index)
Callers
1
end
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected