Question: 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

In entry-level python, please. 1.Take the Wi-Fi Diagnostic Tree problem that you

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!