Question: # make any imports you may need here # include copies of each of the functions that you created # for the four previous parts
# make any imports you may need here
# include copies of each of the functions that you created
# for the four previous parts of this challenge here
# use the template below to write a complete and functioning program
#
# Collect the user inputs. Remember that Python's input
# function always returns a string, so you may need to cast
# or convert the user inputs to float or int.
# Prompt user to enter length of road project in miles
# Be sure to store the input in a variable
# Prompt user to enter number of lanes
# Be sure to store the input in a variable
# Prompt user to enter depth of asphalt in inches
# Be sure to store the input in a variable
# Prompt user to enter days to complete project
# Be sure to store the input in a variable
#
#
# Use the functions you created to calculate and store the
# amount of materials and resources needed for the project.
# you will pass the values that you collected from the user
# to these functions as they are needed.
# call function to get truck loads of asphalt and store return value in a variable named asphalttruckloads
# call function to get number of stoplights and store return value in a variable named stoplights
# call function to get number of water pipes and store return value in a variable named waterpipes
# call function to get number of power pipes and store return value in a variable named powerpipes
# call function to get number of crew members and store return value in a variable named numberofcrewmembers
# Use the values you calculate and stored above to compute
# the cost of each item
# calculate cost of asphalt and store in a variable named costofasphalt
# calculate cost of stoplights and store in a variable named costofstoplights
# calculate cost of water pipes and store in a variable named costofwaterpipes
# calculate cost of power pipes and store in a variable named costofpowerpipes
# calculate cost of labor crew members and store in a variable named costoflabor
# calculate total cost of all materials plus labor and store in a variable named totalcost
#
#
# display the results for the user.
print Amount of materials needed
printTruckloads of Asphalt : asphalttruckloads
printStoplights : stoplights
printWater pipes : waterpipes
printPower pipes : powerpipes
printCrew members needed : numberofcrewmembers
print Cost of Materials
printCost of Asphalt : costofasphalt
printCost of Stoplights : costofstoplights
printCost of Water pipes : costofwaterpipes
printCost of Power pipes : costofpowerpipes
printCost of Labor : costoflabor
print Total Cost of Project
printTotal cost of project : totalcost
#
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
