PYTHON GAME for Three matching coupon code then First Prize:- coupon = {'A1','A2','B1','B2','A3','G7','G8','A0'} choice1 = input("Enter First coupon code in A1,A2,B1,B2,A3,G7,G8,A0 any of one") choice2 = input("Enter Second coupon code in A1,A2,B1,B2,A3,G7,G8,A0 any of one") choice3 = input("Enter Third coupon code in A1,A2,B1,B2,A3,G7,G8,A0 any of one") i1=0 i2=0 i3=0 i=1 lst1 =[] for s in coupon: print(s) lst1.append(s) for ls in lst1: if choice1 ==lst1[0] or choice1 ==lst1[1] or choice1 ==lst1[2]: i1=1 if choice2 ==lst1[0] or choice2 ==lst1[1] or choice2 ==lst1[2]: i2=2 if choice3 ==lst1[0] or choice3 ==lst1[1] or choice3 ==lst1[2]: i3=3 if i1==1 and i2==2 and i3==3: print("First Prize") elif i1==1 and i2==2...
Hi, I'm Shiva Gautam. With over 15 years of diverse experience in various IT domains, I am now an entrepreneur focusing on both training and software development. My expertise spans across multiple technologies, and I've authored numerous articles on subjects including Java, Python, REACT, NODE, ANGULAR, Cloud, software testing, Django framework, C#, Flutter, Salesforce, Ruby on Rails, .NET, and more. For additional information, please visit shivaconceptsolution.com and kangaroosoftware.net.