Question: question1 Write a simple calculator program. Follow the steps below: Declare and define a function name Menu which displays a list of choices for user
question1 Write a simple calculator program. Follow the steps below: Declare and define a function name Menu which displays a list of choices for user such as addition, multiplication, remainder, quit etc. It takes the choice from user as an input and return. Define and declare a separate function for each choice. In the main body of the program call respective function depending on users choice. Program should not terminate till user chooses last option that is Quit.
question2 Write a method to calculate Fibonacci series up to n points. After calculating the series, the method should return it to main. Display the elements in one line. Fibonacci sequence: each number is the sum of the two preceding ones, starting from 0 & 1 0, 1, 1, 2, 3, 5, 8,
question3 Write a method to calculate factorial of a number entered by the user.
question4 Write a program that lets the user enter in some English text, then distorts the text in following fashion. Write each word in reverse order. The only exception is if the first letter is a vowel, in which case we keep it as it is and append oh! to the end.
PYTHON LANGUAGE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
