class FruitBasket(object):
def main(args):
print("Catch and eat any of these fruits : ('apple', 'orange','mango',
'guava')")
print("How many of these fruits would you like to catch? ", end = '')
fruits = [Link]()
i = None
select = None
print("Choose a fruit to catch. Press A, O, M or G.")
i = 1
while i <= fruits:
print("Fruit " + i + " of " + fruits + " : ", end = '')
select = [Link]().charAt(0)
if select == 'a':
[Link]("'apple' ")
elif select == 'o':
[Link]("'orange' ")
elif select == 'm':
[Link]("'mango' ")
elif select == 'g':
[Link]("'guava' ")
else:
print("You input wrong letter please pick only A, O, M or G.")
i += 1
print("Your basket now has: " + st)
while True:
print("Press E to eat a fruit: ", end = '')
eat = [Link]().charAt(0)
if eat == 'e' or eat == 'E':
[Link]()
print("Fruit(s) in the basket = " + st)
if [Link]():
print("No more fruits.")
break
else:
print("You input wrong letter please pick only E.")