Все хорошо, я все еще ценю это.
имаю, что на это ответили, но я супер нуб. Я знаю, что это имеет отношение к мужчине / женщине, являющейся последовательностью, но я думал, что определил это? Как я могу получить расчет на работу?
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'))