import argparse

if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    # optional agument (--)
    parser.add_argument("--number1", help = "first number")
    parser.add_argument("--number2", help = "secound number")
    parser.add_argument("--operation", help = "operation", choices = ["add", "subtract", "multiply", "division"])
    args = parser.parse_args()

    print(args.number1)
    print(args.number2)
    print(args.operation)

    n1 = int(args.number1)
    n2 = int(args.number2)
    result = None

    if args.operation == "add":
        result = n1+n2
    elif args.operation == "subtract":
        result = n1-n2 
    elif args.operation == "multiply":
        result = n1*n2
    elif args.operation == "divistion":
        result = n1/n2  



    print("Your result is :",result)            
