Python Programming - Console Input/Output - Discussion
Discussion Forum : Console Input/Output - General Questions (Q.No. 63)
63.
How can you print the factorial of a number entered by the user?
Answer: Option
Explanation:
To print the factorial of a number entered by the user, use
print(factorial(int(input("Enter a number: "))))
.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers