User Inputs to Determine if Meat is Safe to Consume

Chicken Temperature

This Program elicits a Farenheit value of chicken, from a user whose entry is via a keyboard, and then computes if the meat is cooked and safe to consume or not safe to consume.

In [14]:
user_input = input('Enter Fahrenheit Temperature Value: ')
user_input = float(user_input)

if user_input >= 165:
    print('Chicken is Safe to Consume')
else:
    print('Chicken is Not Safe to Consume')
Enter Fahrenheit Temperature Value: 170
Chicken is Safe to Consume

Beef Temperature

This Program elicits a Farenheit value of beef, from a user whose entry is via a keyboard, and then computes if the meat is cooked and safe to consume or not safe to consume.

In [17]:
user_input = input('Enter Fahrenheit Temperature Value: ')
user_input = float(user_input)

if user_input >= 145:
    print('Beef is Safe to Consume')
else:
    print('Beef is Not Safe to Consume')
Enter Fahrenheit Temperature Value: 190
Beef is Safe to Consume

Pork Temperature

This Program elicits a Farenheit value of beef, from a user whose entry is via a keyboard, and then computes if the meat is cooked and safe to consume or not safe to consume.

In [19]:
user_input = input('Enter Fahrenheit Temperature Value: ')
user_input = float(user_input)

if user_input >= 145:
    print('Pork is Safe to Consume')
else:
    print('Pork is Not Safe to Consume')
Enter Fahrenheit Temperature Value: 165
Pork is Safe to Consume
In [ ]: