gfyitr7ijkh
7 months ago in Python
def password_database():
"""Reading data from the database."""
password_data = 'SELECT account_number, password FROM users;'
cursor.execute(password_data)
results = cursor.fetchall()
for row in results:
print(row)
#return row
1
2
3
4
5
6
7
8