diff --git a/__tests__/verify-python.py b/__tests__/verify-python.py index 02a3604a..abe045b0 100644 --- a/__tests__/verify-python.py +++ b/__tests__/verify-python.py @@ -1,4 +1,6 @@ +# The sys module provides information about constants, functions and methods of the Python interpreter. import sys +#The len() function returns the number of items in an object. When the object is a string, the len() function returns the number of characters in the string. argCount = len(sys.argv) - 1 if argCount == 1: @@ -19,4 +21,4 @@ if argCount == 1: raise Exception("Incorrect number of arguments supplied") print("Correct version of Python " + expectedVersion + " detected") else: - raise Exception("Incorrect number of arguments supplied") \ No newline at end of file + raise Exception("Incorrect number of arguments supplied")