Python (.py file)
Please format it the same as shown below with the indents, line breaks, and correct spaces. Can you also post a screenshot of your runs. Thank you.
print("Choose from the following options: ")
spaces = " "
print(4*spaces + "1. My Internet is not working.\n"+4*spaces+"2. My
cable is not working.\n"\
+4*spaces+"3. My phones are rwt workirw.\n"+4*spaces+"4. My bill is
wrong.\n"+4*spaces+"5. I want to upgrade my plan.")
inp = input("Enter a value: ")
if int(inp) == 1:
inp1 = input(4*spaces+"Is your Modem on? (Enter
Y or N): ")
if inp1 == "Y":
inp2 =
input(4*spaces+"Is your Router on? (Enter Y or N): ")
if inp2 == "Y":
inp3 = input(4*spaces+"Do you see a red light? (Enter Y or N):
")
if inp3 == "Y":
print(6*spaces+"Unplug your router. Wait thirty seconds. Then plug
your router into \n"+6*spaces+"the nearest outlet to restart your
router. If you still cannot connect to \n"+6*spaces+"the Internet,
restart this program. Note, this program will now
\n"+6*spaces+"teminate. Goodbye!")
elif inp1 == "N":
print(6*spaces+"Plug
your modem into the nearest outlet to turn on your modem. If
you\n"+6*spaces+"still cannot connect to the Internet,restart this
program. Note,\n"+6*spaces+"this program will now terminate.
Goodbye!")
elif int(inp)==2:
inp1 = input(4*spaces+"Is your cable box on?
(Enter Y or N): ")
if inp1 == "N":
print(6*spaces+"Plug
your cable box into the nearest outlet to turn on your cable box.
If \n"+6*spaces+"you still do not receive a cable signal,please
restart this program. \n"+6*spaces+"Note, thin program will now
terminate. Goodbye!")
elif inp1 == "Y":
inp2 =
input(4*spaces+"Is your TV on? (Enter Y or N): ")
if inp2 == "Y":
print(6*spaces+"It looks like you may need additional support.
Please call 555-555-5555 for \n"+6*spaces+"additional suPport with
this matter. Thank you for your patience. !")
elif int(inp)==4:
print("4.My bill is wrong.")
inp1 = input(4*spaces+"Were you late on your
last pyment? (Enter Y or N): ")
if inp1 == "Y":
print(6*spaces+"If you
were late on your last payment,you will be charged an additional
\n"\
+6*spaces+"5% interest
fee. Therefore, your bill may be more than usual. Note,
this\n"+6*spaces+"program will now terminate.\Goodbye! If you would
like to contest \n"+6*spaces+"your charge, please call 555-555-5555
for additional support with this matter. \n"+6*spaces+"thank you
for your patience.")
elif inp1 == "N":
print(4*spaces+"It looks
like you may need additional support. Please call 555-555-5555 for
\n"+6*spaces+"additional suPport with this matter. Thank you for
your patience. !")
elif int(inp)>=6:
print(4*spaces+"You entered an invalid menu
choice. It looks like you may need additional support.
\n"+4*spaces+"Please call 555-555-5555 for additional suPport with
this instter. Thank you for your patience. !")
output:
note: if u have any doubt, let me know.
Python (.py file) Please format it the same as shown below with the indents, line breaks,...
IN PYTHON PLEASE...... Process bowlers and their 3 bowling scores. Use my data file below: bowlers2.txt ( Showed below) And you can also use a while loop to read your file if you prefer. How to average down an array, which you don’t have to do. In this case that would be the game 1 average for all bowlers for example. Find the low average and high average. Start with read the data into arrays/lists and printed out the arrays/lists...
I need help with a starting point for my final project. Please help and thank you in advance. Overview: Basic knowledge of computers is practically essential for productively engaging in twenty-first-century life. Working knowledge of computer platform technologies impacts everyone from help-desk personnel and field technicians to project managers and business executives. In order to make sound business decisions, one must have the ability to analyze business needs and compare available computer technology options for effectively meeting those needs. Scenario:...
Help needed with Python 3: Dictionaries and Sets.
The problem is one that asks the user to create a completed
program that prompts the user for the name of a data file, and
reads the contents of that data file, then creates variables in a
form suitable for computing the answer to some questions.
The format should be in the same manner as the attached .py
file. All subsequent assignment details (.py and .csv files) can be
found at this...
C LANGUAGE. PLEASE INCLUDE COMMENTS :)
>>>>TheCafe V2.c<<<<
#include <stdio.h>
int main()
{
int fries; // A flag denoting whether they want fries or not.
char bacon; // A character for storing their bacon preference.
double cost = 0.0; // The total cost of their meal, initialized to start at 0.0
int choice; // A variable new to version 2, choice is an int that will store the
// user's menu choice. It will also serve as our loop control...
Develop a case study analysis in the following format
Relevance of the case study to my work
environment
- application
- learning impact
CASE 4-1 Tambrands Overcoming Cultural Resistance Tampax, Tambrands's only product, is the best-selling tampon in their virginity if they use a tampon. When they go to the beach in the world, with 44 pencent of the global market North America and tiny bikinis, tampons arent their choike. Instead, hordes of women Europe account for 90 percent of...
ROLE-PLAY EXERCISE On Command Corporation PROCESS You have been assigned a role in the On Command Corporation case. Please read the general information (Introduction) about the case. Read and understand your role. Your teammates have different roles. Due the situation, you need to work with your team to produce an employee meeting, you have 15 minutes to present the statement and conduct the meeting – see the link attached with information about an employee meeting (you need to create a...
Hello! Could you please write a 6 paragraph summary (5-6
sentences each paragraph) of the below? In the overview, if you
could please describe the information in detail. Please have
completed in 6 days if possible. Thank you!
In 50 Words Or LesS .6TOC combines lean Six Sigma (LSS) and the theory of constraints (TOC) for bottom-line benefits . The method's metrics pyramids and communi- cations allow organiza- tions to retain gains and monitor benefits. · 6TOC goes beyond fac-...