-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathamazon.py
More file actions
37 lines (25 loc) · 733 Bytes
/
Copy pathamazon.py
File metadata and controls
37 lines (25 loc) · 733 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
35
36
37
''''
Algorithm
1. Login to amazon.com with credentials, with any data type, min 6 character
2. User evaluate, account is avaiulable, user privilege check
3. Greetings
4. Show the items in amazon.com
'''
#data type
#loop
#function
# def login(username: str, password):
# print("Checking the credentiuals for access")
# if type(username) == str:
# print("Username is valid")
# password = str(password)
# if len(password) >= 6:
# print("Password policy met")
# else:
# print("Please follow the password policy")
# print(password)
# if "#" in password:
# print("Password accepted")
username = "abuahris"
if type(username) == str:
print("Username is valid")