import sqlite3


def connect_sqlite_db_and_cursor(db_name):
    """
    Creates a connection to a sqlite3 db
    :param db_name: filename of the db
    :return: sqllite_connection , cursor Object
    """

    print("Connect to Database")
    sqllite_connection = sqlite3.connect(db_name)
    cursor_object = sqllite_connection.cursor()
    print("Database connected")

    return sqllite_connection, cursor_object