Python Forum
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
**** PassWord
#6
import time
import os
ans = True

while ans:
print("""
----------
1. EXIT
2. START
----------
""")



ans=raw_input("""
Kies een nummer: """)


if ans == "1":

exit()


elif ans == "2":


pa=raw_input(" Wachtwoord: ")


if pa == "Tom Zeef":

print("""

Welkom Tom
---------------
1. Pi password
2. Exit
---------------
""")

pe=raw_input ("""

Kies een nummer: """)

if pe == "1":
print ("""

Pi's Password Is Adminofpi""")
import time
time.sleep(1)
exit()

elif pe == "2":
exit()

else:
print("""

Fout Antwoord. ERROR""")
import time
time.sleep(1)
exit()

else:
print("""

Fout Wachtwoord. Jij zal GESTRAFT worden!!!""")
import time
time.sleep(1)
#os.startapp('ERROR.app/')
exit()


Its in Dutch

(Mar-22-2017, 01:54 PM)kadoushka Wrote: import time
import os
ans = True

while ans:
   print("""
   ----------
   1. EXIT
   2. START
   ----------
   """)



   ans=raw_input("""
    Kies een nummer: """)


   if ans == "1":

       exit()
       
       
   elif ans == "2":


       pa=raw_input("     Wachtwoord: ")


       if pa == "Tom Zeef":

           print("""
                 
   Welkom Tom  
   ---------------        
   1. Pi password
   2. Exit    
   ---------------
           """)

           pe=raw_input ("""

   Kies een nummer: """)

           if pe == "1":
               print ("""

            Pi's Password Is Adminofpi""")
               import time
               time.sleep(1)
               exit()

           elif pe == "2":
               exit()

           else:
               print("""

            Fout Antwoord. ERROR""")
               import time
               time.sleep(1)
               exit()

       else:
               print("""

            Fout Wachtwoord. Jij zal GESTRAFT worden!!!""")
               import time
               time.sleep(1)
               #os.startapp('ERROR.app/')
               exit()


Its in Dutch
Reply


Messages In This Thread
**** PassWord - by kadoushka - Mar-19-2017, 09:10 AM
RE: **** PassWord - by sparkz_alot - Mar-19-2017, 12:40 PM
RE: **** PassWord - by Larz60+ - Mar-19-2017, 04:42 PM
RE: **** PassWord - by zivoni - Mar-19-2017, 05:19 PM
RE: **** PassWord - by nilamo - Mar-19-2017, 05:26 PM
RE: **** PassWord - by kadoushka - Mar-22-2017, 01:54 PM
RE: **** PassWord - by nilamo - Mar-22-2017, 02:23 PM
RE: **** PassWord - by wavic - Apr-03-2017, 02:13 AM
RE: **** PassWord - by metulburr - Apr-03-2017, 02:26 AM
RE: **** PassWord - by wavic - Apr-03-2017, 02:30 AM
RE: **** PassWord - by zivoni - Apr-03-2017, 06:48 AM
RE: **** PassWord - by ashishskyblue - Jan-12-2020, 04:49 AM
RE: **** PassWord - by rmspacedashrf - Jan-12-2020, 07:31 AM
RE: **** PassWord - by Gribouillis - Jan-12-2020, 07:44 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020