07 May Sunday 16:00 Python Homework 05.05.
Write a program to solve the following question: Three people ate dinner at a restaurant and want to split the bill. The total is $35.27, and they want to leave a 15 percent tip. How much should each person pay?
You can create several variables for each number in this question, for example:
people = 3
total = 35.27
then you need to figure out the the formula to calculate how much each person has to pay, you can also create a variable for it.
Write a program to solve the following question: Calculate the area and perimeter of a rectangular room, 12.5 meters by 16.7 meters.
Write a program to convert temperatures from Fahrenheit to Celsius. The formula for that is:
C = 5 / 9 * (F – 32)
Some of the Class Notes: