Advertisement
JPHowe

Untitled

Apr 24th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.52 KB | None | 0 0
  1. print("What type of device is it? Phone or Tablet?")
  2. device=input()
  3. if device==str("Phone"):
  4.    
  5.     print("What brand is your phone? Samsung or IPhone?")
  6.     brand=input()
  7.     if brand==str("IPhone"):
  8.        
  9.         print("What model is your IPhone? IPhone4, IPhone5, IPhone6, IPhone7?")
  10.         model=input()
  11.      
  12.         if model==str("IPhone4"):
  13.             print("Here is a program to help find a specific to your issue.\n\n\n")
  14.             exec(open("Task1.py").read())
  15.        
  16.         if model==str("IPhone5"):
  17.             print("Here is a program to help find a solution to your issue.\n\n\n")
  18.             exec(open("Task1.py").read())
  19.        
  20.         if model==str("IPhone6"):
  21.             print("Here is a program to help find a solution to your issue.\n\n\n")
  22.             exec(open("Task1.py").read())
  23.        
  24.         if model==str("IPhone7"):
  25.             print("Here is a program to help find a solution to your issue.\n\n\n")
  26.             exec(open("Task1.py").read())
  27.     if brand==str("Samsung"):
  28.        
  29.         print("What model is your Samsung? Galaxy, Cseries, Aseries, Onseries, Jseries?")
  30.         model=input()
  31.      
  32.         if model==str("Galaxy"):
  33.             print("Here is a program to help find a solution to your issue.\n\n\n")
  34.             exec(open("Task1.py").read())
  35.        
  36.         if model==str("Cseries"):
  37.             print("Here is a program to help find a solution to your issue.\n\n\n")
  38.             exec(open("Task1.py").read())
  39.        
  40.         if model==str("Aseries"):
  41.             print("Here is a program to help find a solution to your issue.\n\n\n")
  42.             exec(open("Task1.py").read())
  43.        
  44.         if model==str("Onseries"):
  45.             print("Here is a program to help find a solution to your issue.\n\n\n")
  46.             exec(open("Task1.py").read())
  47.        
  48.         if model==str("Jseries"):
  49.             print("Here is a program to help find a solution to your issue.\n\n\n")
  50.             exec(open("Task1.py").read())
  51.  
  52. if device==str("Tablet"):
  53.    
  54.     print("What brand is your tablet? Samsung or IPad?")
  55.     brand=input()
  56.     if brand==str("IPad"):
  57.        
  58.         print("What model is your IPad? IPadMini, IPadPro, IPadAir, IPad?")
  59.         model=input()
  60.        
  61.         if model==str("IPadMini"):
  62.             print("Here is a program to help find a solution to your issue.\n\n\n")
  63.             exec(open("Task1.py").read())
  64.        
  65.         if model==str("IPadPro"):
  66.             print("Here is a program to help find a solution to your issue.\n\n\n")
  67.             exec(open("Task1.py").read())
  68.        
  69.         if model==str("IPadAir"):
  70.             print("Here is a program to help find a solution to your issue.\n\n\n")
  71.             exec(open("Task1.py").read())
  72.        
  73.         if model==str("IPad"):
  74.             print("Here is a program to help find a solution to your issue.\n\n\n")
  75.             exec(open("Task1.py").read())
  76.     if brand==str("Samsung"):
  77.        
  78.         print("What model is your Samsung? Tab, TabPro, View?")
  79.         model=input()
  80.    
  81.         if model==str("Tab"):
  82.             print("Here is a program to help find a solution to your issue.\n\n\n")
  83.             exec(open("Task1.py").read())
  84.        
  85.         if model==str("TabPro"):
  86.             print("Here is a program to help find a solution to your issue.\n\n\n")
  87.             exec(open("Task1.py").read())
  88.        
  89.         if model==str("View"):
  90.             print("Here is a program to help find a solution to your issue.\n\n\n")
  91.             exec(open("Task1.py").read())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement