i'm trying to create a trouble shooting program and i have done a little bit of the code i just need help im going to be striaght forward and say that can someone just do it for me , i have like ten options and then the person picks what problem they it and it will help answer with another question e.g. person picks number 13 it will ask the question is your storage full and can then answer yes or no and if it is full the soulution would be to make somes space and if that doesn't fix your problem bring your phone in the apple store also if they say no ask them if the wifi connected so on and at the end of ever solution it will say: if that doesn't fix your problem please make a reservation at the genius and we'll take a look at you phone and help solve your problem. i need to make a code that does that somebody help please???
def menu():
print("Welcome to apple Phone Troubleshooting program")
def start():
select = " "
print("when asked question please either answer with a y for yes and n for no or answer using numbers if i have asked you to answer in numbers")
select=input()
if select=="y":
troubleshooter()
elif select=="n":
quit
else:
print("Invalid please enter again")
def troubleshooter():
print("""Please choose the problem you are having with your phone (input 1-10):
1) My phone doesn't turn on
2) My phone is freezing
3) The screen is cracked
4) My phones phone's problems started after the update or the problem has to do with the update
5)my apps keep crashing
6)my phone goes blank
7) stuck on apple logo
8)fail to update
9)screen not working
10)problems with imessage
11)problmens with facetime
12)problems with mail
13) problems with app store
14) my problem is not listed here
10) I dropped my phone in water\n""")
problemselect = int(input())
if problemselect ==1:
not_on
elif problemselect ==2:
freezing()
print("Thanks for using apple Phone Troubleshooting program")
menu()
while True:
start()
troubleshooter()
Aucun commentaire:
Enregistrer un commentaire