Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write python coding for: 17. Wi-Fi Diagnostic Tree Figure 3-19 shows a simplifie

ID: 3743713 • Letter: W

Question

Write python coding for:

17. Wi-Fi Diagnostic Tree Figure 3-19 shows a simplified flowchart for troubleshooting a bad Wi-Fi connection. Use the flowchart to create a program that leads a person through the steps of fixing a bad Wi-Fi connection. Here is an example of the program's output: Reboot the computer and try to connect Did that fix the problem? no Enter Reboot the router and try to connect. Did that fix the problem? yes Enter Notice the program ends as soon as a solution is found to the problem. Here is another example of the program's output: Reboot the computer and try to connect Did that fix the problem? no Enter Reboot the router and try to connect Did that fix the problem? no Enter Make sure the cables between the router and modem are plugged in firmly Did that fix the problem? no Enter Move the router to a new 1ocation Did that fix the problem? no Enter Get a new router.

Explanation / Answer

def main(): for i in range(4): if i == 2: print('Make sure the cables between the router and modem are plugged in firmly.') elif i == 3: print('Move the router to a new location.') else: print('Reboot the computer and try to connect.') answer = input('Did I fix the problem? ') if answer == 'yes': return print('Get a new router.') main()

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote