MCPcopy Create free account
hub / github.com/geekcomputers/Python / IInd_func

Function IInd_func

create password validity in python.py:6–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def IInd_func():
7 count1 = 0
8 for j in range(5):
9 a = 0
10 count = 0
11 user_pwd = input("Enter remember password: ") # password you remember
12 for i in range(len(pwd)):
13 if user_pwd[i] == pwd[a]: # comparing remembered pwd with fixed pwd
14 a += 1
15 count += 1
16 if count == len(pwd):
17 print("correct pwd")
18 break
19 else:
20 count1 += 1
21 print("not correct")
22 if count1 == 5:
23 time.sleep(30)
24 IInd_func()
25
26
27IInd_func()

Calls

no outgoing calls

Tested by

no test coverage detected