17 lines
337 B
Python
17 lines
337 B
Python
class finger:
|
|
def __init__(self, state):
|
|
self.state = state
|
|
|
|
def __str__(self):
|
|
return self.state
|
|
|
|
def __repr__(self):
|
|
return f"{self.state}"
|
|
|
|
playspace=[]
|
|
for i in range(10):
|
|
playspace.append(i+":"+finger("up"))
|
|
|
|
print()
|
|
print("Pick a finger or two adjacent fingers you would like to put down.")
|