Question 16
Consider the following Python code snippet.
Filename: log.py
import loggingimport sys
logging.basicConfig(level=logging.WARNING, format='%(levelname)s - %(message)s')
num1, num2 = int(sys.argv[1]), int(sys.argv[2])
if num2 > 0: logging.debug(f"Division {num1}/{num2} is possible")else: logging.critical("FATAL - Division by zero is not possible")Which of the following statements is/are correct?