# my_num = int(input("Enter a number:"))
#
# my_factorial = 1
#
# if my_num < 0:
#     print("Sorry, factorial does not exist for negative numbers")
#
# elif my_num == 0:
#     print("The factorial of 0 is 1")
#
# else:
#     for i in range(1, my_num + 1):
#         my_factorial = my_factorial * i
#         # print("The factorial of", my_num, "is ", my_factorial)
#     print("The factorial of", my_num, "is ", my_factorial)
