Advertisement
JPHowe

Untitled

Apr 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.74 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.            
  14.        
  15.         if model==str("IPhone5"):
  16.            
  17.        
  18.         if model==str("IPhone6"):
  19.            
  20.        
  21.         if model==str("IPhone7"):
  22.            
  23.  
  24.     if brand==str("Samsung"):
  25.        
  26.         print("What model is your Samsung? Galaxy, Cseries, Aseries, Onseries, Jseries?")
  27.         model=input()
  28.      
  29.         if model==str("Galaxy"):
  30.            
  31.        
  32.         if model==str("Cseries"):
  33.            
  34.        
  35.         if model==str("Aseries"):
  36.            
  37.        
  38.         if model==str("Onseries"):
  39.            
  40.        
  41.         if model==str("Jseries"):
  42.            
  43. if device==str("Tablet"):
  44.    
  45.     print("What brand is your tablet? Samsung or IPad?")
  46.     brand=input()
  47.     if brand==str("IPad"):
  48.        
  49.         print("What model is your IPad? IPadMini, IPadPro, IPadAir, IPad?")
  50.         model=input()
  51.        
  52.         if model==str("IPadMini"):
  53.            
  54.        
  55.         if model==str("IPadPro"):
  56.            
  57.        
  58.         if model==str("IPadAir"):
  59.            
  60.        
  61.         if model==str("IPad"):
  62.            
  63.  
  64.     if brand==str("Samsung"):
  65.        
  66.         print("What model is your Samsung? Tab, TabPro, View?")
  67.         model=input()
  68.    
  69.         if model==str("Tab"):
  70.            
  71.        
  72.         if model==str("TabPro"):
  73.            
  74.        
  75.         if model==str("View"):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement