Exam 98-381 Topic 8 Question 41 Discussion

Actual exam question for Microsoft's 98-381 exam
Question #: 41
Topic #: 8
The ABC company is creating a program that allows customers to log the number of miles biked. The program will send messages based on how many miles the customer logs.
You create the following Python code. Line numbers are included for reference only.

You need to define the two required functions.
Which code segments should you use for line 01 and line 04? Each correct answer presents part of the solution? (Choose two.)

Suggested Answer: B,E Vote an answer

References:
https://www.w3resource.com/python/python-user-defined-functions.php

by Lucien at Oct 26, 2026, 12:57 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10