question archive 1) I am trying to write a code that : Accepts the user input for an integer between 1 and 50 and Validate the input to see if it is a number and an integer

1) I am trying to write a code that : Accepts the user input for an integer between 1 and 50 and Validate the input to see if it is a number and an integer

Subject:Computer SciencePrice: Bought3

1) I am trying to write a code that :

Accepts the user input for an integer between 1 and 50 and Validate the input to see if it is a number and an integer. then Use a loop to calculate and display the factorial of that number. The factorial of a number is the product of all integers from 1 to that number.

can you please Comment with description of what each statement does so it'd be more understandable for me?

2) Write the code to complete the following tasks:You have 2 lists of strings with contents of your choice.

Use a loop that goes through the lists and compares the lists elements and displays only the list elements that are duplicate (the element exists in both lists). The strings should be displayed even if in one is used uppercase and in the other lowercase or a combination of it. 

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE