0% found this document useful (0 votes)
34 views5 pages

Python Exercises PDF

The document provides 3 Python programming exercises - to calculate average grades, calculate total meal cost including tip and tax, and convert temperature from Celsius to Fahrenheit. Sample outputs and submission instructions are also included.

Uploaded by

Shineii
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views5 pages

Python Exercises PDF

The document provides 3 Python programming exercises - to calculate average grades, calculate total meal cost including tip and tax, and convert temperature from Celsius to Fahrenheit. Sample outputs and submission instructions are also included.

Uploaded by

Shineii
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Python Exercises

Problem 1: solve for the average


Create a program that will accept grades for three subjects and print the average.

Sample output:
Problem 2: solve for total meal/food charge
Create a program that calculates the total amount of a meal purchased at a restaurant. The program
should ask the user to enter the food charge, then calculate the amount of a 15 percent tip and 7
percent sales tax. Display each of these amounts and the total.

Sample output:
Problem 3: temperature conversion
Create a program to convert the temperature in degree centigrade to Fahrenheit

Sample output:
Please screenshot your codes with your
name, section, and problem number

Sample code submission:

NOTES:

Send your screenshots of


codes via direct message
on messenger.

You can archive your


screenshots to 1 file using
WinRar, Zip,7-zip, etc.

You might also like