-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlog_in.py
More file actions
34 lines (27 loc) · 735 Bytes
/
log_in.py
File metadata and controls
34 lines (27 loc) · 735 Bytes
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
#!/usr/bin/env python3
"""
log_in Version 1
Python 3.7
"""
import numli
def create_login():
options = ["Create Account", "Cancel"]
numli.addnum(options)
selection1 = input("Select an option: ")
if selection1 in "1":
Userid = input("Enter User ID: ")
password = input("Enter Your Password: ")
Userdata = [Userid, password]
print("Your Account has been created.")
chances = 3
if chances >= 1:
login = input("Login Id: ")
password1 = input("Password: ")
if login and password1 in Userdata:
pass
else:
pass
else:
raise SystemExit
if __name__ == "__main__":
create_login()