The document describes an experiment to write a Python program that finds the factorial of a given number. It outlines the aim, objectives, and expected outcomes of learning the basics of Python programming. The algorithm involves initializing the factorial to 1, reading the value of n, calculating the factorial in a for loop from 1 to n, and printing the result. The source code and input/output are not shown but the conclusion confirms the program executed successfully.
The document describes an experiment to write a Python program that finds the factorial of a given number. It outlines the aim, objectives, and expected outcomes of learning the basics of Python programming. The algorithm involves initializing the factorial to 1, reading the value of n, calculating the factorial in a for loop from 1 to n, and printing the result. The source code and input/output are not shown but the conclusion confirms the program executed successfully.
The document describes an experiment to write a Python program that finds the factorial of a given number. It outlines the aim, objectives, and expected outcomes of learning the basics of Python programming. The algorithm involves initializing the factorial to 1, reading the value of n, calculating the factorial in a for loop from 1 to n, and printing the result. The source code and input/output are not shown but the conclusion confirms the program executed successfully.