WGU D335 Practice Test 2 Intro to python (OA)
, Create a solution that accepts three integer inputs representing the number of times an
employee travels to a job site. Output the total distance traveled to two decimal places given
the following miles per employee commute to the job site. Output the total distance
traveled to two decimal places given the following miles per employee commute to the job
site:
Employee A: 15.62 miles
Employee B: 41.85 miles
Employee C: 32.67 miles
The solution output should be in the format
Distance: total_miles_traveled - CORRECT ANSWER commute = {
'Employee A': 15.62,
'Employee B': 41.85,
'Employee C': 32.67
}
travels = {
'Employee A': int(input()),
'Employee B': int(input()),
'Employee C': int(input())
}
, Create a solution that accepts three integer inputs representing the number of times an
employee travels to a job site. Output the total distance traveled to two decimal places given
the following miles per employee commute to the job site. Output the total distance
traveled to two decimal places given the following miles per employee commute to the job
site:
Employee A: 15.62 miles
Employee B: 41.85 miles
Employee C: 32.67 miles
The solution output should be in the format
Distance: total_miles_traveled - CORRECT ANSWER commute = {
'Employee A': 15.62,
'Employee B': 41.85,
'Employee C': 32.67
}
travels = {
'Employee A': int(input()),
'Employee B': int(input()),
'Employee C': int(input())
}