Complete the code to import the unit conversion module from scipy.
from scipy import [1]
The constants module in scipy contains unit conversion utilities.
Complete the code to convert 10 inches to meters using scipy.constants.
meters = 10 * constants.[1]
The inch constant converts inches to meters.
Fix the error in the code to convert 5 miles to meters.
meters = 5 * constants.[1]
miles which does not exist.mile_to_meter.The correct constant name is mile (singular) in scipy.constants.
Fill both blanks to convert 100 centimeters to meters and print the result.
value_in_meters = 100 * constants.[1] print(value_in_meters, [2])
centimeters which is not a constant.The constant for centimeters is centimeter and the unit symbol 'm' is printed.
Fill all three blanks to create a dictionary converting lengths in feet to meters for values 1 to 3.
lengths_in_meters = [1]: [2] * constants.[3] for [1] in range(1, 4)}
ft which does not exist.Use length as the key and value variable, and foot constant to convert feet to meters.
