repl.it
@rohitkarthik/

Find your perfect phone!

Python 2.7

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
print ("While using, make sure to capitalize the first letter of whatever you are typing.")
print ("Welcome to the phone generator. Pick your options and an url will pop-up at the very end.")

answer1 = raw_input ("Which type of os would you prefer - Ios (type 1), Android (type 2), or Windows (type 3)?: ")
if answer1 == "1":
  print ("All right, would you like a complex (type 1) or simple (type 2) or normal (type 3) phone?")
  answer2 = raw_input()
  if answer2 == "1":
    print ("Okay, this is the phone for you. Copy and paste the link into your browser: https://www.apple.com/iphone-x/")
  elif answer2 == "2":
    print ("This would be your phone: https://www.apple.com/iphone-se/")
  else :
    print ("You would like this phone: https://www.apple.com/shop/buy-iphone/iphone-7")
elif answer1 == "2" :
  print ("Which brand would you prefer: Samsung (type 1), LG (type 2) or Google (type 3)?")
  answer3 = raw_input()
  if answer3.lower() == "samsung":
    print ("Ok, you would like one of these phones: https://www.samsung.com/us/mobile/phones/galaxy-s/galaxy-s9-256gb-unlocked-sm-g960uzkfxaa/, or https://www.samsung.com/us/mobile/phones/galaxy-note/galaxy-note8-64gb-unlocked-deepsea-blue-sm-n950uzbaxaa/")
  elif answer3 == "2":
    print ("Compelex (type 1) or simple (type 2)")
    answer4 = raw_input()
    if answer4 == "1":
      print ("You would like this phone a lot: http://www.lg.com/us/mobile-phones/g7-thinq")
    else:
      print ("I think this is the one for you: http://www.lg.com/us/cell-phones/lg-US997U-Unlocked-g6-plus")
  else:
    print ("You're a google phone fan huh? Do you like simple (type 1) or complex (type 2) phones?")
    answer5 = raw_input()
    if answer5 == "1":
      print ("You would like this phone: https://www.walmart.com/ip/Google-Pixel-32GB-Unlocked-GSM-Phone-w-12-3MP-Camera-Quite-Black/271122805?wmlspartner=wlpa&selectedSellerId=0&adid=22222222227077473996&wmlspartner=wmtlabs&wl0=&wl1=g&wl2=c&wl3=189608723955&wl4=pla-293300759220&wl5=9033288&wl6=&wl7=&wl8=&wl9=pla&wl10=8175035&wl11=online&wl12=271122805&wl13=&veh=sem")
    else:
      print ("This is yours: https://store.google.com/product/pixel_2")
else:
  print ("Interesting - there are not much Windows Phone fans left. Anyways, here's your phone: https://www.microsoft.com/en-us/mobile/phone/lumia950-xl-dual-sim")
print ("Thank you for using the phone generator!!!")

Fetching token
?