-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathE-commerce Management System Full Python Code.py
1652 lines (1613 loc) · 59.9 KB
/
E-commerce Management System Full Python Code.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#**********E-COMMERCE MANAGEMENT SYSTEM**********
"""
Creators: Tirth Patel
Dev Patel
Kathan Bhavsar
"""
#please enter valid email id whenever asked as we have used 'smptlib' library
import smtplib
import random
from pandas import Series
Price_Array=[]
Name_Array=[]
def Bill():
print("*********Your Bill is*********")
print("\n")
print("Prices Products")
Obj=Series(Name_Array,index=Price_Array)
print(Obj)
total=sum(Price_Array)
print("\n*******So the total price to pay will be*******")
print("\n")
print(total)
print("\n*******Please enter your Address*******\n")
address=input("Address: ")
print("\n*******Choose your payment method*******")
print("\npress 1 : Debit Card/ Credit Card \n\npress 2 : Cash On Delivery")
while (1):
pay=int(input("\nEnter your choice: "))
if pay==1:
while(1):
print("\n------TRANSACTION------")
name1=input("\nEnter name of card holder: ")
debit1=int(input("\nEnter your (16 digit) credit card or debit card number: "))
debitt1=str(debit1)
len1=len(debitt1)
cvv1=int(input("\nEnter (3 digit) CVV number: "))
cvvv1=len(str(cvv1))
if len1==16 and cvvv1==3:
number1 = random.randint(1000,9999)
y="Your Verification code is ",number1
email_user = '<Enter Sender Email Address>'
server = smtplib.SMTP('smtp.gmail.com',587)
server.starttls()
server.login(email_user,'<Enter sender email address password(Valid Google Password)>')
message = str(y)
server.sendmail(email_user,email_send,message)
server.quit()
strnum1=str(number1)
print("\nPlease check your email address you will get a Verification code")
print(" ")
while(1):
VC1=input("\nEnter your Verification code: ")
if(VC1==strnum1):
print("\nVerification Successful")
print(" ")
print("\nMr./Mrs. ",name1," your debit card number with last 4 digit XXXX XXXX XXXX",debitt1[12:16]," \n Rs. ",total," has successfully deducted from your debit card")
fbill="Mr./Mrs. ",name1," your debit card number with last 4 digit XXXX XXXX XXXX",debitt1[12:16]," Rs. ",total," has successfully deducted from your debit card. You purchased ",Name_Array, " ----> ",Price_Array,". If your have any query or problem regarding transaction please reply to this email"
print("\nYour product will be delivered in 2-3 days at given address ",address,"")
server = smtplib.SMTP('smtp.gmail.com',587)
server.starttls()
server.login(email_user,'<Enter sender email address password(Valid Google Password)>')
message = str(fbill)
server.sendmail(email_user,email_send,message)
server.quit()
print("\nPlease go and check your email of your transaction")
server = smtplib.SMTP('smtp.gmail.com',587)
server.starttls()
server.login(email_user,'<Enter sender email address password(Valid Google Password)>')
message = 'Thanks for purchasing item from ECMS your product will be delivered in 2-3 days at given address. If your have any other query please reply to this email'
server.sendmail(email_user,email_send,message)
server.quit()
print("\nThank you for choosing our service")
D=(input("\nPlease rate our project:"))
print("\nThanks for your review")
break
else:
print("Please enter valid OTP")
break
else:
print("Incorrect debit card number or CVV number")
print("Reenter details")
break
elif pay==2:
print("\nYour product will be delivered in 2-3 days on address ",address,"")
fbill="So in total You have to pay Rs. ",total," by cash. You have purchased ",Name_Array," ----> ",Price_Array,"If your have any other query please reply to this email"
email_user = '<Enter sender email address>'
server = smtplib.SMTP('smtp.gmail.com',587)
server.starttls()
server.login(email_user,'<Enter sender email address password(Valid Google Password)>')
message = str(fbill)
server.sendmail(email_user,email_send,message)
server.quit()
server = smtplib.SMTP('smtp.gmail.com',587)
server.starttls()
server.login(email_user,'<Enter sender email address password(Valid Google Password)>')
taddress= 'Thanks for purchasing item from ECMS your product will be delivered in 2-3 days at',address,'. If your have any query or problem regarding delivery please replay to this email'
message = str(taddress)
server.sendmail(email_user,email_send,message)
server.quit()
print("please go and check your email")
print("\nThank you for choosing our service")
D=(input("\nPlease rate our project: "))
print("\nThanks for your review")
break
else:
print("Please enter valid choice")
def ask_next():
while(1):
print("\n\n1.Continue Shopping\n\n2.Complete Shopping\n\n3.Exit")
d=int(input("\n\nEnter the Choice:"))
if d==1:
main()
break
if d==2:
Bill()
break
if d==3:
exit
break
else:
print("\n\nError Plese enter valid choice")
##############
def BeautyHelthcare(a):
while(1):
bh_file=open("Beauty_and_healthcare.txt","r")
while(1):
x=bh_file.readline()
if(x==""):
break
print(x)
bh=int(input("\nEnter your choice:"))
if(bh==1):
print("\nForest Essentials Nargis Velvet Silk Body Cream, 6.7 Fl Oz-------->Rs=2000")
pr=2000
name="Forest Essentials Nargis Velvet Silk Body Cream, 6.7 Fl Oz"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==2):
print("\nL'Occitane Cherry Blossom Hand Cream-30ml-------->Rs=700")
pr=700
name="L'Occitane Cherry Blossom Hand Cream-30ml"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==3):
print("\nTree Hut Shea Moisturizing Body Lotion Moroccan Rose, 255g-------->Rs=600")
pr=600
name="Tree Hut Shea Moisturizing Body Lotion Moroccan Rose, 255g"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==4):
print("\nYves Rocher Energizing Body Lotion, Mango Coriander, 200ml-------->Rs=500")
pr=500
name="Yves Rocher Energizing Body Lotion, Mango Coriander, 200ml"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==5):
print("\nForest Essentials Night Cream, Kumkumadi Keram, 30g-------->Rs=2075")
pr=2075
name="Forest Essentials Night Cream, Kumkumadi Keram, 30g"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==6):
print("\n Maybelline New York Color Sensational Creamy Matte Lipstick-------->Rs=500")
pr=500
name=" Maybelline New York Color Sensational Creamy Matte Lipstick"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==7):
print("\nLakme Absolute Plump and Shine Lip Gloss, Beige Shine, 3g-------->Rs=400")
pr=400
name="Lakme Absolute Plump and Shine Lip Gloss, Beige Shine, 3g"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==8):
print("\nMaybelline New York Colossal Kajal, Black, 0.35g-------->Rs=150")
pr=150
name="Maybelline New York Colossal Kajal, Black, 0.35g"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==9):
print("\nDeBelle Gel Nail Polish Victorian Beige (Beige Nail Polish), 8ml-------->Rs=270")
pr=270
name="DeBelle Gel Nail Polish Victorian Beige (Beige Nail Polish), 8ml"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==10):
print("\nGeneric Foundation, Eyeshadow Makeup Brush Set, Pink-------->Rs=250")
pr=250
name="Generic Foundation, Eyeshadow Makeup Brush Set, Pink"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==11):
print("\nVicks Vaporub - 50ml-------->Rs=110")
pr=110
name="Vicks Vaporub - 50ml"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==12):
print("\nSkudgear Advanced Breathable Neoprene Ankle Support Compression Brace-------->Rs=400")
pr=400
name="Skudgear Advanced Breathable Neoprene Ankle Support Compression Brace"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==13):
print("\nDr. Morepen 09 Fully Automatic BP Monitor-------->Rs=1400")
pr=1400
name="Dr. Morepen 09 Fully Automatic BP Monitor"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==14):
print("\nTrexgenics Smartvision Advanced Eye Care Multivitamin-------->Rs=900")
pr=900
name="Trexgenics Smartvision Advanced Eye Care Multivitamin"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==15):
print("\nMack'S Ear Care Ultra Soft Foam Earplugs, 50 Count-------->Rs=1700")
pr=1700
name="Mack'S Ear Care Ultra Soft Foam Earplugs, 50 Count"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==16):
print("\nDove Intense Repair Shampoo, 1L-------->Rs=500")
pr=500
name="Dove Intense Repair Shampoo, 1L"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==17):
print("\nTRESemme Keratin Smooth Conditioner-------->Rs=180")
pr=180
name="TRESemme Keratin Smooth Conditioner"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==18):
print("\nNihar Shanti Amla and Badam Hair Oil-------->Rs=140")
pr=140
name="Nihar Shanti Amla and Badam Hair Oil"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==19):
print("\nL'Oreal Paris Excellence Creme Hair Color, Black-------->Rs=530")
pr=530
name="L'Oreal Paris Excellence Creme Hair Color, Black"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==20):
print("\nBEARDO Hair Wax, Strong Hold-------->Rs=200")
pr=200
name="BEARDO Hair Wax, Strong Hold"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==21):
print("\nAxe Signature Dark Temptation-------->Rs=180")
pr=180
name="Axe Signature Dark Temptation"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==22):
print("\nEngage M1 Perfume Spray For Men-------->Rs=160")
pr=160
name="Engage M1 Perfume Spray For Men"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==23):
print("\nFogg Fresh Deodorant Combo for Men-------->Rs=450")
pr=450
name="Fogg Fresh Deodorant Combo for Men"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==24):
print("\nNIVEA Men Deodorant, Fresh Active Original, 150ml-------->Rs=145")
pr=145
name="NIVEA Men Deodorant, Fresh Active Original, 150ml"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bh==25):
print("\nEnvy Men Perfume, 30ml-------->Rs=120")
pr=120
name="Envy Men Perfume, 30ml"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
else:
printf("\nPlease enter valid choice.")
##############
def Bags(a):
while(1):
bag_file=open("Bags_and_Luggage.txt","r")
while(1):
x=bag_file.readline()
if(x==""):
break
print(x)
bag=int(input("\nEnter your choice:"))
if(bag==1):
print("\nPOLESTAR Noble Blue School Bag-------->Rs=530")
pr=530
name="POLESTAR Noble Blue School Bag"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==2):
print("\nWildcraft 44 Ltrs Wolf_Blk Casual Backpack-------->Rs=1270")
pr=1270
name="Wildcraft 44 Ltrs Wolf_Blk Casual Backpack"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==3):
print("\nAmerican Tourister 32 Ltrs Black Casual Backpack-------->Rs=1100")
pr=1100
name="American Tourister 32 Ltrs Black Casual Backpack"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==4):
print("\nSkybags SB Marvel 27 Ltrs Red School Backpack-------->Rs=700")
pr=700
name="Skybags SB Marvel 27 Ltrs Red School Backpack"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==5):
print("\nDoraemon Digital Print Polyester School Bag-------->Rs=400")
pr=400
name="Doraemon Digital Print Polyester School Bag"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==6):
print("\nWildcraft 45 Ltrs Grey and Orange Rucksack-------->Rs=1400")
pr=1400
name="Wildcraft 45 Ltrs Grey and Orange Rucksack"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==7):
print("\nAristocrat 45 Ltrs Black Rucksack-------->Rs=1200")
pr=1200
name="Aristocrat 45 Ltrs Black Rucksack"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==8):
print("\nSkybags Sonic 49 Ltrs Green Rucksack-------->Rs=1900")
pr=1900
name="Skybags Sonic 49 Ltrs Green Rucksack"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==9):
print("\nF Gear Orion 46 Ltrs Navy Blue, Black Rucksack-------->Rs=1300")
pr=1300
name="F Gear Orion 46 Ltrs Navy Blue, Black Rucksack"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==10):
print("\nWILDCRAFT RUCKSACK-------->Rs=1400")
pr=1400
name="WILDCRAFT RUCKSACK"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==11):
print("\nAmerican Tourister Ivy Polypropylene Black Hardsided Check-in Luggage-------->Rs=3000")
pr=3000
name="American Tourister Ivy Polypropylene Black Hardsided Check-in Luggage"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==12):
print("\nSkybags Trooper Polycarbonate Blue Hardsided Cabin Luggage-------->Rs=2500")
pr=2500
name="Skybags Trooper Polycarbonate Blue Hardsided Cabin Luggage"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==13):
print("\nSafari Thorium Sharp Antiscratch Black Check-In Hard Suitcase-------->Rs=3700")
pr=3700
name="Safari Thorium Sharp Antiscratch Black Check-In Hard Suitcase"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==14):
print("\nAmerican Tourister Cruze ABS Black Hardsided Suitcase-------->Rs=4500")
pr=4500
name="American Tourister Cruze ABS Black Hardsided Suitcase"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==15):
print("\nVIP Pisa Polyester Red Softsided Check-in Luggage-------->Rs=4300")
pr=4300
name="VIP Pisa Polyester Red Softsided Check-in Luggage"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==16):
print("\nSwiss Military Canvas Beige Sling Bag-------->Rs=800")
pr=800
name="Swiss Military Canvas Beige Sling Bag"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==17):
print("\nGOCART WITH G LOGO Oxford Cloth Elastic Arm Bag-------->Rs=400")
pr=400
name="GOCART WITH G LOGO Oxford Cloth Elastic Arm Bag"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==18):
print("\nTom & Gee Leather Messenger Bag-------->Rs=550")
pr=550
name="Tom & Gee Leather Messenger Bag"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==19):
print("\nKILLER Men's Sling Bag (Blue)-------->Rs=700")
pr=700
name="KILLER Men's Sling Bag (Blue)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==20):
print("\nCOSMUS Polyester 9 Ltr Navy Blue Messenger Bag-------->Rs=500")
pr=500
name="COSMUS Polyester 9 Ltr Navy Blue Messenger Bag"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==21):
print("\nKILLER Eaton 31 L Polyester Gym Bag-------->Rs=600")
pr=600
name="KILLER Eaton 31 L Polyester Gym Bag"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==22):
print("\nN-Blues Comfortable Casual Gym Bag 20L-------->Rs=600")
pr=600
name="N-Blues Comfortable Casual Gym Bag 20L"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==23):
print("\nPUMA Gym Bag IND II Fig-CASTLEROCK-------->Rs=500")
pr=500
name="PUMA Gym Bag IND II Fig-CASTLEROCK"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==24):
print("\nAUXTER Blacky Leatherette Gym Bag-------->Rs=360")
pr=360
name="AUXTER Blacky Leatherette Gym Bag"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(bag==25):
print("\nTHEDZIRE Medium Travel Duffel Bag,Waterproof Synthetic Leather-------->Rs=350")
pr=350
name="THEDZIRE Medium Travel Duffel Bag,Waterproof Synthetic Leather"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
else:
print("\nPlease enter valid choice.")
##############
def Electronics(a):
while(1):
ele_file=open("Electronics.txt","r")
while(1):
x=ele_file.readline()
if(x==""):
break
print(x)
ele=int(input("\nEnter your choice:"))
if(ele==1):
print("\nSamsung 32 inches Wondertainment Series HD Ready LED Smart TV-------->Rs=16000")
pr=16000
name="Samsung 32 inches Wondertainment Series HD Ready LED Smart TV"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==2):
print("\nMi TV 4X 50 Inches 4K Ultra HD Android LED TV-------->Rs=35000")
pr=35000
name="Mi TV 4X 50 Inches 4K Ultra HD Android LED TV"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==3):
print("\nLG 55 inches 55SK8500PTA 4K Super UHD LED Smart TV-------->Rs=125000")
pr=125000
name="LG 55 inches 55SK8500PTA 4K Super UHD LED Smart TV"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==4):
print("\nSony Bravia 43 inches Full HD Smart LED TV KDL-43W6603-------->Rs=35000")
pr=35000
name="Sony Bravia 43 inches Full HD Smart LED TV KDL-43W6603"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==5):
print("\nOnePlus Y Series 43 inches Full HD LED Smart Android TV 43Y1-------->Rs=25000")
pr=25000
name="OnePlus Y Series 43 inches Full HD LED Smart Android TV 43Y1"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==6):
print("\nLG 1.5 Ton 5 Star Inverter Split AC Copper, LS-Q18YNZA, Convertible 4-in-1 Cooling-------->Rs=41000")
pr=41000
name="LG 1.5 Ton 5 Star Inverter Split AC Copper, LS-Q18YNZA, Convertible 4-in-1 Cooling"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==7):
print("\nVoltas 1.5 Ton 3 Star Inverter Split AC (Copper 183VCZS)-------->Rs=34000")
pr=34000
name="Voltas 1.5 Ton 3 Star Inverter Split AC (Copper 183VCZS)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==8):
print("\nWhirlpool 1 Ton 3 Star 2020 Split AC with Copper Condenser-------->Rs=25500")
pr=25500
name="Whirlpool 1 Ton 3 Star 2020 Split AC with Copper Condenser"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==9):
print("\nLG 2 Ton 3 Star Inverter Split AC (Copper, 2019 Model, KS-Q24ENXA)-------->Rs=50000")
pr=50000
name="LG 2 Ton 3 Star Inverter Split AC (Copper, 2019 Model, KS-Q24ENXA)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==10):
print("\nPanasonic 1.5 Ton 5 Star Wi-Fi Twin Cool Inverter Split AC (Copper, PM 2.5 Filter, 2020 Model, CS/CU-NU18WKYW)-------->Rs=41000")
pr=41000
name="Panasonic 1.5 Ton 5 Star Wi-Fi Twin Cool Inverter Split AC (Copper, PM 2.5 Filter, 2020 Model, CS/CU-NU18WKYW)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==11):
print("\nGodrej 190 L 5 Star Inverter Direct-Cool Single Door Refrigerator-------->Rs=16000")
pr=16000
name="Godrej 190 L 5 Star Inverter Direct-Cool Single Door Refrigerator"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==12):
print("\nLG 420 L 3 Star Frost Free Double Door Refrigerator (GL-I472QPZX)-------->Rs=41000")
pr=41000
name="LG 420 L 3 Star Frost Free Double Door Refrigerator (GL-I472QPZX)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==13):
print("\nHaier 320 L 2 Star Inverter Frost-Free Double Door Refrigerator-------->Rs=26000")
pr=26000
name="Haier 320 L 2 Star Inverter Frost-Free Double Door Refrigerator"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==14):
print("\nSamsung 198 L 5 Star Inverter Direct Cool Single Door Refrigerator-------->Rs=17500")
pr=17500
name="Samsung 198 L 5 Star Inverter Direct Cool Single Door Refrigerator"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==15):
print("\nGodrej 260 L 3 Star Inverter Frost-Free Double Door Refrigerator-------->Rs=23000")
pr=23000
name="Godrej 260 L 3 Star Inverter Frost-Free Double Door Refrigerator"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==16):
print("\nDell G3 3500 Gaming Laptop with 15.6 Inch-------->Rs=73000")
pr=73000
name="Dell G3 3500 Gaming Laptop with 15.6 Inch"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==17):
print("\nHP Pavilion x360 Touchscreen 2-in-1 FHD 14-inch Laptop -------->Rs=52000")
pr=52000
name="HP Pavilion x360 Touchscreen 2-in-1 FHD 14-inch Laptop "
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==18):
print("\nLenovo ThinkPad E14 AMD Ryzen 5 4500U 14-inch Thin and Light Laptop-------->Rs=50000")
pr=50000
name="Lenovo ThinkPad E14 AMD Ryzen 5 4500U 14-inch Thin and Light Laptop"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==19):
print("\nApple MacBook Pro (16-inch Silver)-------->Rs=240000")
pr=240000
name="Apple MacBook Pro (16-inch Silver)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==20):
print("\nASUS TUF Gaming FX705DT 17.3 FHD Laptop-------->Rs=70000")
pr=70000
name="ASUS TUF Gaming FX705DT 17.3 FHD Laptop"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==21):
print("\nMSI WS75, Intel 10th Gen. i7-10875H, 17.3 Workstation Laptop-------->Rs=290000")
pr=290000
name="MSI WS75, Intel 10th Gen. i7-10875H, 17.3 Workstation Laptop"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==22):
print("\nMi 10i 5G (Midnight Black)-------->Rs=24000")
pr=24000
name="Mi 10i 5G (Midnight Black)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==23):
print("\nOnePlus Nord 5G (Blue Marble)-------->Rs=30000")
pr=30000
name="OnePlus Nord 5G (Blue Marble)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==24):
print("\nOnePlus 8T 5G (Aquamarine Green)-------->Rs=46000")
pr=46000
name="OnePlus 8T 5G (Aquamarine Green)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==25):
print("\nSamsung Galaxy Note 20 Ultra 5G (Mystic Black)-------->Rs=105000")
pr=105000
name="Samsung Galaxy Note 20 Ultra 5G (Mystic Black)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==26):
print("\nVivo V20 Pro 5G (Midnight Jazz)-------->Rs=30000")
pr=30000
name="Vivo V20 Pro 5G (Midnight Jazz)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==27):
print("\nOPPO F17 Pro (Matte Black)-------->Rs=21500")
pr=21500
name="OPPO F17 Pro (Matte Black)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(ele==28):
print("\nApple iPhone 12 Pro Max - Pacific Blue-------->Rs=130000")
pr=130000
name="Apple iPhone 12 Pro Max - Pacific Blue"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
else:
print("\nPlease enter valid choice.")
##############
def GroceryHouseHoldSupplies(a):
while(1):
gh_file=open("Grocery_and_household.txt","r")
while(1):
x=gh_file.readline()
if(x==""):
break
print(x)
gro=int(input("\nEnter your choice:"))
if(gro==1):
print("\nTetley Green Tea Bags - Ginger, Mint & Lemon, 100 Bags-------->Rs=420")
pr=420
name="Tetley Green Tea Bags - Ginger, Mint & Lemon, 100 Bags"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==2):
print("\n Lipton Honey Lemon Green Tea Bags, 100 Pc-------->Rs=400")
pr=400
name=" Lipton Honey Lemon Green Tea Bags, 100 Pc"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==3):
print("\nWagh Bakri Premium Leaf Tea Poly Pack, 1kg-------->Rs=400")
pr=400
name="Wagh Bakri Premium Leaf Tea Poly Pack, 1kg"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==4):
print("\nTata Tea Gold, 1kg-------->Rs=550")
pr=550
name="Tata Tea Gold, 1kg"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==5):
print("\nNescafe Classic Coffee, 100g Dawn Jar-------->Rs=255")
pr=255
name="Nescafe Classic Coffee, 100g Dawn Jar"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==6):
print("\nZandu Pure Honey, 500g-------->Rs=175")
pr=175
name="Tata Tea Gold, 1kg"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==7):
print("\nFortune Sunlite Refined Sunflower Oil, 1L-------->Rs=145")
pr=145
name="Fortune Sunlite Refined Sunflower Oil, 1L"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==8):
print("\nFortune Kachi Ghani Pure Mustard Oil, 1L (Pet Bottle)-------->Rs=160")
pr=160
name="Fortune Kachi Ghani Pure Mustard Oil, 1L (Pet Bottle)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==9):
print("\nDhampure White Crystal Sugar, 5kg-------->Rs=220")
pr=220
name="Dhampure White Crystal Sugar, 5kg"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==10):
print("\nTata Sampann Turmeric Powder Masala, 200g-------->Rs=55")
pr=55
name="Tata Sampann Turmeric Powder Masala, 200g"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==11):
print("\nSaffola Masala Oats, Classic Masala, 500g-------->Rs=170")
pr=170
name="Saffola Masala Oats, Classic Masala, 500g"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==12):
print("\nQuaker Oats, 2kg-------->Rs=260")
pr=260
name="Quaker Oats, 2kg"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==13):
print("\nKellogg's Corn Flakes Real Almond and Honey, 1 kg-------->Rs=520")
pr=520
name="Kellogg's Corn Flakes Real Almond and Honey, 1 kg"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==14):
print("\nKellogg's Chocos, High in Protein, B Vitamins, Calcium And Iron, 1.2kg Pack-------->Rs=460")
pr=460
name="Kellogg's Chocos, High in Protein, B Vitamins, Calcium And Iron, 1.2kg Pack"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==15):
print("\nNestle NesPlus Breakfast Cereal - Crunchy Flakes with Corn & Oats, 475g Carton-------->Rs=160")
pr=160
name="Nestle NesPlus Breakfast Cereal - Crunchy Flakes with Corn & Oats, 475g Carton"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==16):
print("\nMilton Executive Lunch Box Soft Insulated Tiffin Box (2 SS Container,1 Microwave Safe Container),Green-------->Rs=300")
pr=300
name="Milton Executive Lunch Box Soft Insulated Tiffin Box (2 SS Container,1 Microwave Safe Container),Green"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==17):
print("\nLarah by Borosil Green Leaves Silk Series Opalware Dinner Set, 35 Pieces, White-------->Rs=1800")
pr=1800
name="Larah by Borosil Green Leaves Silk Series Opalware Dinner Set, 35 Pieces, White"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==18):
print("\nMilton Thermosteel Carafe Flask Tea/ Coffee Pot Tea/ Coffee Pot, 1000 ml, Silver-------->Rs=1000")
pr=1000
name="Milton Thermosteel Carafe Flask Tea/ Coffee Pot Tea/ Coffee Pot, 1000 ml, Silver"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==19):
print("\nMilton Astir 750 Thermosteel Hot and Cold Water Bottle, 710 ml, Blue-------->Rs=800")
pr=800
name="Milton Astir 750 Thermosteel Hot and Cold Water Bottle, 710 ml, Blue"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==20):
print("\nBorosil - Carafe Flame Proof Glass Kettle With Stainer, 650 ml-------->Rs=500")
pr=500
name="Borosil - Carafe Flame Proof Glass Kettle With Stainer, 650 ml"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==21):
print("\nAlnico Decor Metal Flower Vase (26 Inches, Black)-------->Rs=1900")
pr=1900
name="Alnico Decor Metal Flower Vase (26 Inches, Black)"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==22):
print("\nAADIT CRREATION Metallic Flower Vase-------->Rs=600")
pr=600
name="AADIT CRREATION Metallic Flower Vase"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()
break
elif(gro==23):
print("\nFabzone Marble Dust Radha Krishna Idol | Radhey Shyam , White, 19 Inches, 1 Piece-------->Rs=9500")
pr=9500
name="Fabzone Marble Dust Radha Krishna Idol | Radhey Shyam , White, 19 Inches, 1 Piece"
Price_Array.append(pr)
Name_Array.append(name)
ask_next()