You are on page 1of 2

ASSIGNMENT – 10

NAME: NELLORE SAI NIKHIL


REG. NO: 21BCE8845

Q1) Create an input file. The contents of the file will be any 5
natural numbers. (10, 12, ..)
Write a python program to read the natural numbers from the
file, compute its factorial, and write it to an output file.
Ans) Input file:
CODE:

OUTPUT FILE:

You might also like