""" Runs created 27 :param rc: run created :param ab: at bat :param h: hits :param sh: sacrifice hit :param sf: sacrifice fly :param cs: caught stealing :param gidp: ground into duble play :return: (float) run created 27 """ to = ab - h + sh + sf + cs + gidp rc27 = round(27 * rc / to, 2) return rc27