Computer Science, asked by taera18, 6 months ago

Write a python code to create a dataframe with appropriate headings from the list given below :['E101', 'Lampard', ‘XII’], ['E102', 'Bekham',’XI’], ['E104', 'Zidane', ‘XII’], ['E105',

'Maldini', ‘XII’]​

Answers

Answered by sujal23805
4

Program to calculate the factorial of a positive integer:

n = int(input('Type a number, and its factorial will be printed: '))

if n < 0:

raise ValueError('You must enter a non negative integer')

fact = 1

for i in range(2, n + 1):

fact *= i

print(fact)

Similar questions