x=input("Enter your name:---") print(x) u=int(input("Enter your age")) print(u) if(u>=18): print("You are eligible to play") else: print("Sorry yeh game bacho ke liye nhi aap jaakar pogo dekhe") exit() I=''' \ / _______ _____ | / _____ ______ \ / __ ___ __ /\ /\ _ _ | | | | / | | | \ /\ / |__ | | | | / \/ \ |_ _ | | | |/ |_____| | \/ \/ |__ |__ |___ |__| / \ |_ _ | |_____| | \ | | | | \ |_____| |_______ ''' print(I) print(x,"Lets see how far you can go") print("To continue press 1") j=int(input("Enter the no")) if(j==1): print("Let go") else: print("You press the wrong button") exit() print("the first queston is on your screen is:-") print("which among the following invented python ?") k=("1)Guido van Russo\n2)Jakes potts\n3)Karl Marks\n4)Yourker kan") print(k) m=int(input("Enter your option")) print(m) if(m==1): print("Conrats you have won 1000 rupees") else: print("You have won nothing") exit() print('To begin with next question') print('Press 2') p=int(input("Enter the no")) print(p) if(p==2): print("Second question is on your screen") else: print('You press the wrong button') exit() print("the second queston is on your screen is:-") print("How many stars are on the national flag of USA ?") k=('1)12\n2)34\n3)50\n4)55') print(k) x=int(input("Enter your option")) print(x) if(x==3): print('congrats you have won 10000 rupees') else: print(" Wrong!!!!!!Better luck next time") exit() print('To begin with next question') print('Press 3') p=int(input("Enter the no")) print(p) if(p==3): print("Third question is on your screen") else: print('You press the wrong button') exit() print("The third queston is on your screen is:-") print("What is the collective name for a group of unicorns ?") k=('1)A sparkle\n3)A spell\n2)A blessing\n4)A Starhorse') print(k) x=int(input("Enter your option")) print(x) if(x==2): print('congrats you have won 30000 rupees') else: print(" Wrong!!!!!!Better luck next time") exit() print('To begin with next question') print('Press 4') p=int(input("Enter the no")) print(p) if(p==4): print(" Fourth question is on your screen") else: print('You press the wrong button') exit() print("The Fourth queston is on your screen is:-") print("Light year is the unit of ?") k=('1)Light\n2)Distance\n3)Time\n4)Intenisty of light') print(k) x=int(input("Enter your option")) print(x) if(x==2): print('congrats you have won 80000 rupees') else: print(" Wrong!!!!!!Better luck next time") exit() print('To begin with next question') print('Press 5') p=int(input("Enter the no")) print(p) if(p==5): print(" Five question is on your screen") else: print('You press the wrong button') exit() print("The Five queston is on your screen is:-") print("The office of UN general Assembly is?") k=('1)Washington D.C\n2)New York\n3)California\n4)Zurich') print(k) x=int(input("Enter your option")) print(x) if(x==2): print('congrats you have won 100000 rupees') else: print(" Wrong!!!!!!Better luck next time") exit() print(''' CONGRATS YOU HAVE WON ''')
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter