if-else structure : If : Language Basics PYTHON examples


PYTHON examples » Language Basics » If »

 

if-else structure


if-else structure



print "password pleasen"

password = raw_input("Enter your password: ")

if password == "name":
    print "Access Granted"
else:
    print "Access Denied"



           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Language Basics
» If