Ask Your Question

Revision history [back]

You can start here: https://www.tutorialspoint.com/python/python_command_line_arguments.htm Briefly: N = sys.argv[1] should work.

You can start here: https://docs.python.org/3/library/sys.html#sys.argv and https://www.tutorialspoint.com/python/python_command_line_arguments.htm Briefly: N = sys.argv[1] should work.