def show():
    query = 'select * from login;'
    try:
        cursor.execute(query)
        fetch = cursor.fetchall()
        n = len(fetch)
        for i in range(n):
            print(fetch[i][0], fetch[i][1])
    except:
        db.rollback()
        print('Bad')
def show():
    query = 'select * from login;'
    try:
        cursor.execute(query)
        fetch = cursor.fetchall()
        n = len(fetch)
        for i in range(n):
            print(fetch[i][0], fetch[i][1])
    except:
        db.rollback()
        print('Bad')