The first file is named script1.py while the second file is named script2.py.
2. The purpose of the first script is to print 'Hello, World!' to the console. The purpose of the second script is to calculate the factorial of a number.
3. The first script contains a main function that prints 'Hello, World!'. The second script contains a main function that asks for user input, calculates the factorial of the input number, and prints the result.
4. The second script contains an additional function named factorial which is not present in the first script. This function calculates the factorial of a given number.
5. The second script includes a user input function which is not present in the first script.
2. The purpose of the first script is to print 'Hello, World!' to the console. The purpose of the second script is to calculate the factorial of a number.
3. The first script contains a main function that prints 'Hello, World!'. The second script contains a main function that asks for user input, calculates the factorial of the input number, and prints the result.
4. The second script contains an additional function named factorial which is not present in the first script. This function calculates the factorial of a given number.
5. The second script includes a user input function which is not present in the first script.