Summary 2 HouseSign.py - This program calculates prices for cu house signs. In this lab, you complete a prewritten Python program for a carpenter who creates personalized house signs. The program is supposed to compute the price of any sign a customer orders, based 4 on the following facts: 5 # Declare and initialize variables here. 6 # Charge for this sign. • The charge for all signs is a minimum of $35.00. # Number of characters. 8 # Color of characters. • The first five letters or numbers are included in the minimum charge; there is a $4 charge for 9 # Type of wood. 10 each additional character. 11 # Write assignment and if statements here as appropr • If the sign is make of oak, add $20.00. No charge is added for pine. 12 13 # Output Charge for this sign. 14 print("The charge for this sign is $" + str(charge)) • Black or white characters are included in the minimum charge; there is an additional $15 charge for gold-leaf lettering. 15 Instructions 1. Make sure the file HouseSign.py is selected and open. 2. You need to assign variables for the following: • A variable for the cost of the sign assigned to 0.00 ( charge ). • A variable for the number of characters assigned to 8 ( numChars ). • A variable for the color of the characters assigned to "gold" ( color ). • A variable for the wood type assigned to "oak" ( woodType ). 3. Write the rest of the program using assignment statements and if statements as appropriate. The output statements are written for you. 4. Execute the program by clicking the Run button at the bottom of the screen. Your output should be: The charge for this sign is $82.0.
Summary 2 HouseSign.py - This program calculates prices for cu house signs. In this lab, you complete a prewritten Python program for a carpenter who creates personalized house signs. The program is supposed to compute the price of any sign a customer orders, based 4 on the following facts: 5 # Declare and initialize variables here. 6 # Charge for this sign. • The charge for all signs is a minimum of $35.00. # Number of characters. 8 # Color of characters. • The first five letters or numbers are included in the minimum charge; there is a $4 charge for 9 # Type of wood. 10 each additional character. 11 # Write assignment and if statements here as appropr • If the sign is make of oak, add $20.00. No charge is added for pine. 12 13 # Output Charge for this sign. 14 print("The charge for this sign is $" + str(charge)) • Black or white characters are included in the minimum charge; there is an additional $15 charge for gold-leaf lettering. 15 Instructions 1. Make sure the file HouseSign.py is selected and open. 2. You need to assign variables for the following: • A variable for the cost of the sign assigned to 0.00 ( charge ). • A variable for the number of characters assigned to 8 ( numChars ). • A variable for the color of the characters assigned to "gold" ( color ). • A variable for the wood type assigned to "oak" ( woodType ). 3. Write the rest of the program using assignment statements and if statements as appropriate. The output statements are written for you. 4. Execute the program by clicking the Run button at the bottom of the screen. Your output should be: The charge for this sign is $82.0.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question

Transcribed Image Text:Summary
2 HouseSign.py - This program calculates prices for cu
house signs.
In this lab, you complete a prewritten Python program for a carpenter who creates personalized
house signs. The program is supposed to compute the price of any sign a customer orders, based
4
on the following facts:
5 # Declare and initialize variables here.
6
# Charge for this sign.
• The charge for all signs is a minimum of $35.00.
# Number of characters.
8
# Color of characters.
• The first five letters or numbers are included in the minimum charge; there is a $4 charge for
9
# Type of wood.
10
each additional character.
11 # Write assignment and if statements here as appropr
• If the sign is make of oak, add $20.00. No charge is added for pine.
12
13 # Output Charge for this sign.
• Black or white characters are included in the minimum charge; there is an additional $15
14 print("The charge for this sign is $" + str(charge))
charge for gold-leaf lettering.
15
Instructions
1. Make sure the file HouseSign.py is selected and open.
2. You need to assign variables for the following:
o A variable for the cost of the sign assigned to 0.00 ( charge ).
• A variable for the number of characters assigned to 8 ( numChars ).
• A variable for the color of the characters assigned to "gold" ( color ).
• A variable for the wood type assigned to "oak" ( woodType ).
3. Write the rest of the program using assignment statements and if statements as
appropriate. The output statements are written for you.
4. Execute the program by clicking the Run button at the bottom of the screen. Your output
should be: The charge for this sign is $82.0.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY