def print_action(action):
	if action == 'look around':
		for object in cell_enviroment:
			print(object)
	elif action in ('talk to rack', 'talk rack', 'rack'):
		print ("1")
	elif action in ('beg', 'open beg', 'take beg', 'look beg'):
		print('2')
	elif action in ('stones', 'rocks', 'walk to stones'):
		print('3')
	elif action in ('help', 'hint'):
		for tip in help:
			print(tip)
	else:
		print('Looks like you have amnesia.Try again')
		

print_action('stones')
print_action('rack')