Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

small factorial codechef solution

t=int(input())
for i in range(t):
  x=int(input())
  count=1
  for i in range(x):
    count=count*i
   print(count)
Comment

PREVIOUS NEXT
Code Example
Python :: python3 change file permissions 
Python :: model o weight 
Python :: django check if queryset is empty 
Python :: pandas filter every column not null 
Python :: Python Program to Convert Decimal to Binary, Octal and Hexadecimal 
Python :: sum of number digits python 
Python :: python ascii 
Python :: df index start from 1 
Python :: find columns with missing values pandas 
Python :: python ndim 
Python :: python warning 
Python :: shutil copyfile python 
Python :: python string match ignore case 
Python :: pandas convert series of datetime to date 
Python :: measure cell execution time in jupyter notebook 
Python :: isidentifier method in python 
Python :: remove columns from a dataframe python 
Python :: password generator in python 
Python :: check if string contains alphabets python 
Python :: python get pid of process 
Python :: copy a dict in python 
Python :: pep full form 
Python :: if object has property python 
Python :: python get first day of year 
Python :: Python program to check Co-Prime Number 
Python :: find the sum of all the multiples of 3 or 5 below 1000 python 
Python :: python test is nan 
Python :: python regex match words 
Python :: basic calculator in python 
Python :: convert index of a pandas dataframe into a column 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =