Raspberry Pi - GPIO Basics with Python
Which Python construct guarantees that
GPIO.cleanup() executes regardless of exceptions during GPIO operations?GPIO.cleanup() executes regardless of exceptions during GPIO operations?finally block runs after try, even if exceptions occur.GPIO.cleanup() inside finally ensures it always executes.finally block after a try block -> Option Dfinally always runs [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions