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
12345678