![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 01.02.2021 22:10 SMNS625
Extend by prompting the user for a color they want to paint the walls. Calculate and output the total cost of the paint cans depending on which color is chosen. Hint: Use a dictionary to associate each paint color with its respective cost. Red paint costs $35 per gallon can, blue paint costs $25 per gallon can, and green paint costs $23 per gallon can. Hint: to account for the paint color, you can either use an "if... elif . else sequence to test for equality of the input color string with each of the three allowed strings red', blue, or green, or else use a dictionary like the one below to associate each paint color with its respective cost. (Submit for 3 points, including one hidden test case, so 8 points total)
paintcolors = {
red': 35,
blue': 25,
green': 23
}
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 22:50
Explain why it is reasonable to assume that receiving 3 duplicate acks in tcp is an indication that the network is not currently congested.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 14:00
Which database model is best used for data warehouse and data mining
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 21:00
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 02:30
Research data that is presented using descriptive language is said to be
Answers: 2
You know the right answer?
Extend by prompting the user for a color they want to paint the walls. Calculate and output the tota...
Questions
![question](/tpl/images/cats/istoriya.png)
History, 10.04.2021 03:20
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 10.04.2021 03:20
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 10.04.2021 03:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 10.04.2021 03:20
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 10.04.2021 03:20
![question](/tpl/images/cats/mat.png)
Mathematics, 10.04.2021 03:20
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
History, 10.04.2021 03:20
![question](/tpl/images/cats/biologiya.png)
Biology, 10.04.2021 03:20
![question](/tpl/images/cats/en.png)
English, 10.04.2021 03:20
![question](/tpl/images/cats/mat.png)
Mathematics, 10.04.2021 03:20
![question](/tpl/images/cats/mat.png)
Mathematics, 10.04.2021 03:20
![question](/tpl/images/cats/mat.png)
Mathematics, 10.04.2021 03:20