I'm stuck with this long assesment and my code isn't woking


#1



	#Controlled Assesment January 2016

#Import a time frame so codes don't run too fast
import sys
import os
import random
import time
time.sleep(1.25)
#Defines a function so it will be easier to call this funtion

def hold(f):
      print("We hope you enjoyed our services")
      print("")
      time.sleep(3)
      print("If you need further services visit your local Apple Store")
      print("")
      time.sleep(3)
      return f
p = 0
#Funcion
def thx(t):
      print("")
      time.sleep(1)
      print("Thanks for calling")
      print("")
      time.sleep(2)
      print("We hope you enjoyed or services")
      time.sleep(2)
      print("")
      print("Send us feedback via our Website ")
      time.sleep(2)
      return t
t = 0

def insurance(i):
      time.sleep(1)
      print("")
      print("If you visit your local Apple store we will be sure to fix it")
      print("")
      time.sleep(4)
      print("We hope to hear from you again")
      print("")
      time.sleep(3)
      print("Thanks for calling the Apple Custome Services")
      time.sleep(2)
      return t
i = 0

print("Welcome To The Apple Phone Repair Services Line")

print("")

time.sleep(3)

#Program asks user which device they use
device = input("What device are you calling about? 1-iPad or 2-iPhone ? ")
#Use print("") to make spaces between my code
print("")

time.sleep(3)

# iPad Service
# Done
if device == "1":
    #If the input equals "1" it directs the user here
    #FINISHED
    print("Welcome to the iPad Repair Services")
    print("")
    time.sleep(3)
    print("I will now ask you a series of questions")
    print("")
    time.sleep(3.4)
    hot = input("Is your device feeling really warm most of the time? 1-Yes 2-No ")
    print("")
    if hot == "1":
          time.sleep(1)
          period = input("How long have you had your phone ? (1: Couple Days) (2: 1 - 6 months) (3: 6 months) ")
          if period == "1":
                print("")
                print("There may be something wrong with your phone")
                print("")
                time.sleep(2.5)
                charge = input("How long do you usually charge your phone for (1: Under an hour) (2: 1 - 3 hours) (3: 3+ hours) (4: Overnight) ")
                
                
                if charge == "1":
                        print("")
                        time.sleep(2)
                        heat = input("Is the heat continous(C) or temporary(T)? ")
                        if heat == "c" or heat == "C" or heat == "1":
                            print("")
                            time.sleep(1)
                            print("There is something definetly wrong with your phone ")
                            print("")
                            time.sleep(2.4)
                            insurance(i)
                            sys.exit()
                        if heat == "t" or heat == "T" or heat == "2":
                            time.sleep(2)
                            print("It seems your phone is fine")
                            print("")
                            time.sleep(2)
                            print("If there are any other problems with your phone call this number again or visit your local Apple Store ")
                            time.sleep(3)
                            thx(t)
                            sys.exit()
                        
                elif charge == "2":
                        print(" 1 - 3 hours is a great period to charge your phone ")
                        print("")
                        heat = input("Is the heat continous(C) or temporary(T)? ")
                        if heat == "c" or heat == "C" or heat == "1":
                            print("")
                            time.sleep(2)
                            print("There may be a problem with your iPad")
                            print("")
                            time.sleep(2.5)
                            print("We suggest leaving your phone of charge a while before using it ")
                            print("")
                            time.sleep(2.5)
                            print("If this issue still occurs we recommend visiting your local Apple Store. ")
                            print("")
                            time.sleep(3)
                            thx(t)
                            sys.exit()
                        elif heat == "t" or heat == "T" or heat == "2":
                            print("")
                            time.sleep(1)
                            print("If it is temporary there isn't a REAL problem")
                            print("")
                            time.sleep(2.5)
                            print("If there are any more problems with your phone call this number again or visit your local Apple Store ")
                            time.sleep(2.5)
                            thx(t)
                            sys.exit()
                            
                elif charge == "3":
                        print("")
                        time.sleep(2)
                        print("After a 3 hour charge your phone would likely be warm ")
                        print("")
                        time.sleep(2)
                        print("3+ hours is really bad because it over charges your phone")
                        print("")
                        time.sleep(2)
                        print("It can deplete your battery life and makes your phone really warm ")
                        print("")
                        time.sleep(2)
                        heat = input("Is the heat continous(C) or temporary(T)? ")
                        if heat == "c" or heat == "C" or heat == "1":
                            print("")
                            time.sleep(2)
                            print("There may be a problem with your iPad")
                            print("")
                            time.sleep(2.5)
                            print("We suggest leaving your phone off charge a while before using it ")
                            print("")
                            time.sleep(2.5)
                            print("If this issue still occurs we recommend visiting your local Apple Store. ")
                            print("")
                            time.sleep(3)
                            thx(t)
                            sys.exit()
                            
                        elif heat == "t" or heat == "T" or heat == "2":
                            print("")
                            time.sleep(1)
                            print("If it is temporary there isn't a REAL problem")
                            print("")
                            time.sleep(2.5)
                            print("If there are any more problems with your phone call this number again or visit your local Apple Store ")
                            time.sleep(2.5)
                            thx(t)
                            sys.exit()
                        
                elif charge == "4":
                        print("")
                        time.sleep(1)
                        print("It seems you charge your phone way too long")
                        print("")
                        time.sleep(2)
                        print("It kills off your battery because you overcharge it")
                        print("")
                        time.sleep(2)
                        heat = input("Is the heat continous(C) or temporary(T)? ")
                        if heat == "c" or heat == "C" or heat == "1":
                            print("")
                            time.sleep(2)
                            print("There may be a problem with your iPad due to over charging ")
                            print("")
                            time.sleep(2.5)
                            print("We suggest leaving your phone off charge a while before using it ")
                            print("")
                            time.sleep(2.5)
                            print("If this issue still occurs we recommend visiting your local Apple Store. ")
                            print("")
                            time.sleep(3)
                            thx(t)
                            sys.exit()
                            
                        elif heat == "t" or heat == "T" or heat == "2":
                            print("")
                            time.sleep(1)
                            print("If it is temporary there isn't a REAL problem")
                            print("")
                            time.sleep(2.5)
                            print("If there are any more problems with your phone call this number again or visit your local Apple Store ")
                            time.sleep(2.5)
                            thx(t)
                            sys.exit()
            
          elif period == "2":
                
                print("")
                time.sleep(1.5)
                print("This is a regular issue no need to worry")
                charge = input("How long do you charge your phone for (1: Under an hour) (2: 1 - 3 hours) (3: 3+ hours) (4: Overnight) ")
                
                if charge == "1":
                        insurance(i)
                        sys.exit()
                elif charge == "2":
                        insurance(i)
                        sys.exit()
                elif charge == "3":
                        print("")
                        time.sleep(2)
                        print("After a 3 hour charge your phone would likely be warm. ")
                        time.sleep(3)
                        print(" We recommend not using your phone until it is cool again. ")
                        time.sleep(3)
                        print("If this continues visit your local Apple Store. ")
                        time.sleep(2)
                        thx(t)
                        sys.exit()
                elif charge == "4":
                        print("")
                        time.sleep(1)
                        print("It seems you charge your phone way too long")
                        time.sleep(2)
                        print("It kills off your battery because you overcharge it")
                        time.sleep(3)
                        print("This is another reason why your phone's battery is really warm")
                        time.sleep(2)
                        print("We recommend you stop charging it overnight and for only 1-2 hours")
                        sys.exit()

	elif hot == "2":
		print("")
        time.sleep(2)
        crack = input("(Has your device's screen cracked ( 1-Yes 2-No ) ")
		print("")
    	time.sleep(2)
		if crack == "1":
        	print("It seems your device is cracked.... ")
        	print("")
        	time.sleep(3)
        	insured = input("Was your device insured 1-Yes 2-No ?")
        	print("")
        	time.sleep(1)
        	if insured == "1":
        		insurance(i)
        	elif insured == "2":
             	print("It seems your device isn't insured")
              	print("")
              	time.sleep(2.4)
            	print("We will be able to repair your phone but it will be of charge")
              	print("")
              	time.sleep(2)
              	print("We recommend getting your iPad insured")
              	time.sleep(2)
              	thx(t)
    	elif crack == "2":
        	input("")
        	time.sleep(2)
        	inter = input("Are there any internal errors with the phone? 1-Yes 2-No ")
        	print("")
        	if inter == "1":
            	time.sleep(2)
            	reset == input("Have you tried to reset your iPad 1-Yes 2-No ")
            	print("")
            	time.sleep(1)
            	if reset == "1":
            		apps = input("Are all the apps working fine? 1-Yes 2-No")
            		if apps == "2":
            			wifi = input("Is the internet working fine? 1-Yes 2-No)
            			if wifi == "1":
            				touch = input("Is the screen touchable? 1-Yes 2-No")
            			elif wifi == "2":
            				print("")
            		elif apps == "1":
            			wifi = input("Is the internet working fine?")
            			if wifi == "1":
            				print("")
            	elif reset == "2":
                  print("")
        elif inter == "2":
              time.sleep(1.5)
              print("I'm Sorry but we're unable to find out your problem")
              time.sleep(2)
              hold(f)
              sys.exit()
#FINISHED
            #FINISHED
#FINISHED
            #FINISHED
#FINISHED


#iPhone Service
if device == "2":
    
    wet_1 = input("Has Your Phone Got Wet? (1 = YES 2 = NO) ")  

    print("")

    if wet_1 == "1":	

        time.sleep(2)

        wet_2 = input("Has The Screen Gone Blank? (1 = YES 2 = NO) ")

        print("")

        time.sleep(2)

        if wet_2 == "1":
        
            print("The Internal screen must be broken ")
            print("")
            time.sleep(2.7)
            #Controlled Assesment January 2016


#2

if you look at this line:

wifi = input("Is the internet working fine? 1-Yes 2-No)

you will see a " is missing at the end of your string.