usr bin env python boolVar False name FanKiLL email fh lfkdl rr passwo

 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
#!/usr/bin/env python
boolVar = False
name = "FanKiLL"
email = "fh@lfkdl.rr"
password = "11111111111"
def validName():
ReName = raw_input("Enter you name : ")
if name == ReName:
boolVar = True
print "Name valid"
else:
boolVar = False
print "no valid name"
validName()
def validEmail():
ReEmail = raw_input("Enter you email : ")
if email == ReEmail:
boolVar = True
print "Email valid"
else:
boolVar = False
print "not valid email"
validEmail()
def validPassword():
RePassword = raw_input("Enter you password : ")
if password == RePassword:
boolVar = True
print "password valid"
else:
boolVar = False
print "not valid password"
validPassword()
validName()
validEmail()
validPassword()
if not boolVar:
raw_input("To exit enter any key : ")