Question 10
Consider the following Python code snippet.
import loggingimport sys
logging.basicConfig(level=logging.INFO, format='%(levelname)s - %(message)s')
num1, num2 = int(sys.argv[1]), int(sys.argv[2])
logging.info("This operation checks factors")
if num1 % num2 == 0: logging.debug(f"{num2} is a factor of {num1}")else: logging.warning(f"{num2} is not the factor of {num1}")What will be the output of the above code on the terminal for the command:
python log.py 25 5