# Cody Lynch
# 1954220

# Creates dictionary to match paint colors to prices
paint_colors = {
   'red': 35,
   'blue': 25,
   'green': 23
}
# Gets wall height and width from user
wall_height = int(input('Enter wall height (feet):\n'))
wall_width = int(input('Enter wall width (feet):\n'))
# Calculates then outputs the walls area in square feet
wall_area = wall_height * wall_width
print('Wall area: {} square feet'.format(wall_area))
# Calculates then outputs the amount of paint needed in gallons
paint_needed = wall_area / 350
print("Paint needed: {:.2f} gallons".format(paint_needed))
# Calculates then outputs the amount of paint needed in cans
cans_needed = round(paint_needed)
print("Cans needed: {} can(s)".format(cans_needed))
# Gets desired color from user then outputs the cost for the paint
desired_color = (input("\nChoose a color to paint the wall:"))
print("\nCost of purchasing {} paint: ${}".format(desired_color, paint_colors[desired_color] * cans_needed))

e7f8df7516001d14715749cbe5f19a267542fad1
<mask token>

<mask token>
print('Wall area: {} square feet'.format(wall_area))
<mask token>
print('Paint needed: {:.2f} gallons'.format(paint_needed))
<mask token>
print('Cans needed: {} can(s)'.format(cans_needed))
<mask token>
print("""
Cost of purchasing {} paint: ${}""".format(desired_color, 
    paint_colors[desired_color] * cans_needed))

paint_colors = {'red': 35, 'blue': 25, 'green': 23}
wall_height = int(input('Enter wall height (feet):\n'))
wall_width = int(input('Enter wall width (feet):\n'))
wall_area = wall_height * wall_width
print('Wall area: {} square feet'.format(wall_area))
paint_needed = wall_area / 350
print('Paint needed: {:.2f} gallons'.format(paint_needed))
cans_needed = round(paint_needed)
print('Cans needed: {} can(s)'.format(cans_needed))
desired_color = input("""
Choose a color to paint the wall:""")
print("""
Cost of purchasing {} paint: ${}""".format(desired_color, 
    paint_colors[desired_color] * cans_needed))

# Cody Lynch
# 1954220

# Creates dictionary to match paint colors to prices
paint_colors = {
   'red': 35,
   'blue': 25,
   'green': 23
}
# Gets wall height and width from user
wall_height = int(input('Enter wall height (feet):\n'))
wall_width = int(input('Enter wall width (feet):\n'))
# Calculates then outputs the walls area in square feet
wall_area = wall_height * wall_width
print('Wall area: {} square feet'.format(wall_area))
# Calculates then outputs the amount of paint needed in gallons
paint_needed = wall_area / 350
print("Paint needed: {:.2f} gallons".format(paint_needed))
# Calculates then outputs the amount of paint needed in cans
cans_needed = round(paint_needed)
print("Cans needed: {} can(s)".format(cans_needed))
# Gets desired color from user then outputs the cost for the paint
desired_color = (input("\nChoose a color to paint the wall:"))
print("\nCost of purchasing {} paint: ${}".format(desired_color, paint_colors[desired_color] * cans_needed))
