projects
/
kiosk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Format codebase w/ black.
[kiosk.git]
/
grab_bag.py
diff --git
a/grab_bag.py
b/grab_bag.py
index 49582fb16e6fafe2688d952abccdfe6d098fff7b..a427256ca0f1b1530a0e757391dc027b1391099a 100644
(file)
--- a/
grab_bag.py
+++ b/
grab_bag.py
@@
-1,5
+1,6
@@
import random
import random
+
class grab_bag(object):
def __init__(self):
self.contents = set()
class grab_bag(object):
def __init__(self):
self.contents = set()
@@
-24,6
+25,7
@@
class grab_bag(object):
def size(self):
return len(self.contents)
def size(self):
return len(self.contents)
-#x = grab_bag()
-#x.add_all([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
-#print x.subset(3)
+
+# x = grab_bag()
+# x.add_all([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
+# print x.subset(3)