emil3h / GitIssueAI

A tool to generate issues that serve as code change logs, powered by ChatGPT API.
0 stars 0 forks source link

Differences between script1.py and script2.py #4

Open emil3h opened 4 months ago

emil3h commented 4 months ago
  1. 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.