I'm new to programming and am stuck with an exercise. I ask for a number from user and then I want to save all numbers that are lower then the entered one in a list.
Then I need to calculate the factorial of every second number in that list and print it out. How can I do that?
def get_input_number():
 num = int(input("Enter number between 1 and 10: "))
 if num < 1 or num > 10:
     print ("Invalid input.  Try again ")
     get_input_number()
 else:
     return num
get_input_number()
this is all I have but how can I proceed?
 
     
    