Question: ***Python*** I am new to Python and self taught. These are beginner exercises If some one show me any one exercise that you be great
***Python*** I am new to Python and self taught. These are beginner exercises If some one show me any one exercise that you be great
1)
Accepts the user input for an integer between 1 to 50
Validate the input to see if it is a number and an integer
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.
P.S Comment with description of what each statement does.
3)
In a loop, ask the user for input
Output the value of the input in uppercase letters
Keep asking for user input until the user types "quit", "stop", or "exit"
P.S Comment with description of what each statement does.
3)
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.
P.S Comment with description of what each statement does.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
