Raspberry Pi - gpiozero Library
What will the following code print if the sensor measures 0.25 meters?
from gpiozero import DistanceSensor sensor = DistanceSensor(echo=17, trigger=4) distance_cm = sensor.distance * 100 print(round(distance_cm))
