gfyitr7ijkh
3 years 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