Advertisement
JPHowe

Untitled

Apr 24th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. print("What type of device is it? Phone or Tablet?")
  2. device=input()
  3.  
  4. if device==str("Phone"):
  5.    
  6.     print("What brand is your phone? Samsung or IPhone?")
  7.     brand=input()
  8.     if brand==str("IPhone"):
  9.        
  10.     if brand==str("Samsung"):
  11.        
  12.        
  13.  
  14. if device==str("Tablet"):
  15.    
  16.     print("What brand is your tablet? Samsung or IPad?")
  17.     brand=input()
  18.     if brand==str("IPad"):
  19.        
  20.     if brand==str("Samsung"):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement