def calculated_hp(base_stat, level, iv, effort, nature=None):
 if (base_stat == 1):
  return 1
 return (((((((base_stat * 2) + iv) + (effort // 4)) * level) // 100) + 10) + level)

def calculated_hp ( base_stat , level , iv , effort , nature = None ) : if ( base_stat == 1 ) : return 1 return ( ( ( ( ( ( ( base_stat * 2 ) + iv ) + ( effort // 4 ) ) * level ) // 100 ) + 10 ) + level )
similar to calculated_stat .