Question: wo integer and float pairs are read from input, each pair representing a hotel room number and the room's temperature. Create a dictionary named temperature

wo integer and float pairs are read from input, each pair representing a hotel room number and the room's temperature. Create a dictionary named temperature_data containing the following key-value pairs:
Key guestroom_number1 with the value reported_temperature1
Key guestroom_number2 with the value reported_temperature2
guestroom_number1= int(input())
reported_temperature1= float(input())
guestroom_number2= int(input())
reported_temperature2= float(input())

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!