WGU D335 Intro to Python | OA | Objective Assessment | 15 Updated & Actual Questions and 100% Correct Answers | 2025/2026
WGU D335 Intro to Python | OA | Objective Assessment | 15 Updated & Actual Questions and 100% Correct Answers | 2025/2026 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 times_traveledA = int(input()) times_traveledB = int(input()) times_traveledC = int(input()) employeeA = 15.62 #miles employeeB = 41.85 #miles employeeC = 32.67 #miles distance_traveledA = times_traveledA * employeeAdistance_traveledB = times_traveledB * employeeBdistance_traveledC = times_traveledC * employeeCtotal_miles_traveled = distance_traveledA + distance_traveledB + distance_traveledCprint('Distance: {:.2f} miles'.format(total_miles_traveled))
Written for
- Institution
- Western Governors University
- Course
- WGU D335
Document information
- Uploaded on
- June 29, 2025
- Number of pages
- 22
- Written in
- 2024/2025
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu d335
-
d335
-
wgu d335 practice test 2
-
wgu d335 i
-
wgu d335 intro to python oa objective assessme
-
create a solution that accepts three integer input
-
create a solution that accepts an input identifyin