Using the computer language in python to write a function code that personalized house signs
<h3>Writting the code in python:</h3>
<em>#Assign varibles</em>
<em>charge = 0.00</em>
<em>numChars = 8</em>
<em>color = "gold"</em>
<em>woodType = "oak"</em>
<em />
<em>#Checking for number of characters</em>
<em>if numChars > 5:</em>
<em>charge = 35 + (numChars-5)*4</em>
<em>elif numChars > 0:</em>
<em>charge = 35</em>
<em />
<em>#Checking wood type</em>
<em>if woodType == "oak":</em>
<em>charge += 20</em>
<em />
<em>#Checking for color</em>
<em>if color == "gold":</em>
<em>charge += 15</em>
<em />
<em>#Print output</em>
<em>print("The charge for this sign is $"+str(charge)+".")</em>
See more about python at brainly.com/question/13437928
#SPJ1
Answer:
There's a parking lot that is 600m² big. The lot must be able to hold at least 3 buses and 10 cars.
Each car takes up 6m² and each bus takes up 30m².
However, there can only be 60 vehicles in the lot at any given time.
The cost to park in the lot is $2.50 per day for cars and $7.50 per day for buses. The lot must make at least $75 each day to break even.
What is a possible car to bus ratio that would allow the lot to make profit?
Answer:
B and C
Explanation:
xPos and yPos determine the center of the circle, and rad determines the radius of the circle drawn.
It cannot be A because it starts drawing a circle with the center of (4, 1). None of the circles ahve a center at (4, 1). It is B because while it does start at (4, 1), the repeat function adds one to the y and radius. While ti repeats 3 times it ends up drawing all 3 circles. C also works because it starts by drawing the biggest circle and then subtracting the values to make the other two. It cannot be D because in the repeat function it subtracts from the y value and radius too early, it doesn't draw the biggest circle.
HTTP or HTTPS is most likely the answer you are looking for.