Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In entry-level python, please. 1.Take the Wi-Fi Diagnostic Tree problem that you have written for your earlier assignment and put it in a condition-controlled loop

In entry-level python, please.

1.Take the Wi-Fi Diagnostic Tree problem that you have written for your earlier assignment and put it in a condition-controlled loop (while). So, after the program runs once, it should ask the user if they would like to run the program again. Your program should allow the user the do the check again.

(Original Code)

def prompt():

#User input

ch = input("Did that fix the problem? ")

#Return input

return ch

#Print

print("Please enter yes or no")

print("Reboot the computer and try to connect.")

#User input

ch = prompt()

#compare and print results

if ch== "no":

print("Reboot the router and try to connect.")

ch = prompt()

if ch == "no":

print("Make sure the cables between the router & modem are plugged in firmly.")

ch = prompt()

if ch=="no":

print("Move the router to a new location and try to connect.")

ch == prompt()

if ch == "no":

print("Get a new router")

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 programs output Figure 3-19 Troubleshooting a bad Wi-Fi connection

image text in transcribed

2. Write an interactive program using counter controlled nested loops (for loop) that would allow to calculate your monthly expenses/utility bills for a number of months (ask the user how many months). Display the statistics for each month (total and average). Write polite and professional interactive messages ask name, thank them after they use your program.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

Students also viewed these Databases questions

Question

Explain how labour relations practices differ around the world.

Answered: 1 week ago