Question: PYTHON 1Write the program to determine how much to tip the server in a restaurant. The tip should be 15% of the bill, with a

PYTHON

1Write the program to determine how much to tip the server in a restaurant. The tip should be 15% of the bill, with a minimum of $2.

2A copy center charges 5 cents per copy for the first 100 copies and 3 cents per copy for each additional copy. Write a program that requests the number of copies as input and display the total cost.

3Federal law require that hourly employees be paid Time and a half for work in excess of 40 hours in a week. For example, if a persons hourly wage is $ 12 and he/ she works 60 hours in a week , the persons gross pay should be

(40 * 12) + (1.5 * 12* (60 40)) = $840

4Write the Python Code for the Celsius and Fahrenheit Converter.

5Display the table of numbers and the square.

6Develop the code to find the minimum, maximum and average of a sequence of non- negative numbers entered by the user. The user is told to enter the number -1 to indicate the end of data entry.

7Display the simple menu options to show the facts about the United States. For example, option 1: Capital, 2: National Bird, 3: National flower, 4. Do you like to repeat?

8Demonstrate how two strings can be compared with the < operator. Get two names from the user and display the names in alphabetical order.

9Create a drawing panel and the graphical pen to represent the rectangle and a oval. Use your own dimensions. Fill the rectangle with blue and oval with green color[lk1] .

10With the proper code, methods and functions, open a text file called input.txt, read the contents of it and print it onto the screen.

PLEASE GIVE THE NUMBERS IN FRONT OF EACH ANSWER SO I KNOW WHICH QUESTION'S ANSWER IS IT

++++++++++++++++++++++++++++++++++++++++

[lk1]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!