Question 20
Consider the following Python code snippet:
Filename: module_0.py
import sys
arguments = sys.argv
courses = {'MAD 1': '1002', 'MAD-2': '2003', 'BDM': '205', 'SysCom': '304'}
def operate(): arg_1 = arguments[1] arg_2 = courses[arg_1] return f"The function output is: {len(arg_1 + arg_2)}"
print(operate())The above file will yield the output as “The function output is: 9”, for which of the following command line inputs?
python module_0.py MAD 1
python module_0.py MAD-2
python module_0.py BDM
python module_0.py SysCom