TypeError en cálculos con valores ingresados por el usuario

Me doy cuenta de que esto ha sido respondido, pero soy un super novato. Sé que tiene que ver con que hombre / mujer sea una cadena, pero pensé que lo tenía definido. ¿Cómo puedo hacer que el cálculo funcione?

num = int(input('Please enter number of standard drinks consumed:'))
while num <= 0:
    print ('Error: The number cannot be negative or zero.')
    num = int(input('Please enter number of standard drinks consumed:'))
weight = int(input('Please enter weight in pounds:'))
while weight <= 0:
    print ('Error: The weight cannot be negative or zero.')
    weight = int(input('Please enter weight in pounds:'))
time = int(input('Please enter number of hours since first drink:'))
while time <= 0:
    print ('Error: The time cannot be negative or zero.')
    time = int(input('Please enter number of hours since first drink:'))
gender = input('Please enter the sex male or female:')
male = 0.68
female = 0.55


B = -0.015 * time(2.84 * num / weight * gender)
print ('The BAC is', format(B, ',.2f'))

Respuestas a la pregunta(2)

Su respuesta a la pregunta