Raspberry Pi - Automation and Scheduling
Given this code snippet, what will be printed?
moisture = 300
threshold = 400
if moisture < threshold:
print("Pump ON")
else:
print("Pump OFF")Given this code snippet, what will be printed?
moisture = 300
threshold = 400
if moisture < threshold:
print("Pump ON")
else:
print("Pump OFF")15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions