blob: 615c68507eaad6cd873b85195e3d89862e94485e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class CAO_Cards():
@staticmethod
def get_white_cards():
''' Read the file containing the white cards and return a list of cards '''
with open('white_cards') as fd:
return [line.strip() for line in fd]
@staticmethod
def get_black_cards():
''' Read the file containing the black cards and return a list of cards '''
with open('black_cards') as fd:
return [line.strip() for line in fd]
|