classes.py
def chstate(self, s):
 		"""Changes the enemy's state to the one given by the parameter 's'."""
 		self.state = s.lower()
 		if s == 'dead':
 			self.hp = 0
 			cprint('\nYou killed the {}.'.format(self.name), 'red', attrs=['bold'])
 		else:
 			self.hp = self.hp
Changes the enemy's state to the one given by the parameter 's'.
Changes the enemy's state to the one given by the parameter 's'.
Changes the enemy ' s state to the one given by the parameter ' s ' .
def chstate(self, s):
 		self.state = s.lower()
 		if s == 'dead':
 			self.hp = 0
 			cprint('\nYou killed the {}.'.format(self.name), 'red', attrs=['bold'])
 		else:
 			self.hp = self.hp
def chstate ( self , s ) : self . state = s . lower ( ) if s == 'dead' : self . hp = 0 cprint ( '\nYou killed the {}.' . format ( self . name ) , 'red' , attrs = [ 'bold' ] ) else : self . hp = self . hp
Changes the enemy's state to the one given by the parameter 's'.
Changes the enemy ' s state to the one given by the parameter ' s ' .
"""Changes the enemy's state to the one given by the parameter 's'."""
self
s