Question
(python only) 1. Using the ezgraphics program, write a program that draws a picture of a house. It could be as simple (but no simpler
(python only) 1. Using the ezgraphics program, write a program that draws a picture of a house. It could be as simple (but no simpler -- it must have a chimney, a door, and two windows) as the following figure, or it could be more elaborate. Use at least 3 colors.
2. The following pseudocode describes how a bookstore computes the price of an order from the total price and the number of the books that were ordered.
Ask the user to enter the total book price and the number of books.
Compute the tax (8.25 percent of the book price)
Compute the shipping charge ($2.50 per book, no discount for quantity)
The price of the order is the sum of the total book price, the total tax, and the total shipping charge.
Display the order price.
Write a Python program that follows the above pseudocode. The program execution should look something like this:
Enter the total price of books for the order in dollars: 100
Enter the total number of books for the order: 10
The total price of the order is: 133.25 dollars.
Be sure to INCLUDE the program documentation and to follow the variable and constant naming guidelines from the readings last week.
Do NOT use methods or procedures that are beyond the scope of the chapter -- loops, conditions, etc.
Also, please note that these assignments are not group assignments. They are to be written and submitted individually.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started