def read():
    try:
        db = int(input('\nTo access database enter id:'))
    except ValueError:
        print('Enter integer id.....')
        read()
    else:
        if (db in lid):
            print('ID:-', lid)
            print('NAMES:-', lname)
            print('COLLEGE:-', lcollege)
            print('BRANCH:-', lbranch)
        elif (lid == dummy):
            print('\nno records......')
        else:
            print('\nRegister inorder to access database.....')
    choice()
def read():
    try:
        db = int(input('\nTo access database enter id:'))
    except ValueError:
        print('Enter integer id.....')
        read()
    else:
        if (db in lid):
            print('ID:-', lid)
            print('NAMES:-', lname)
            print('COLLEGE:-', lcollege)
            print('BRANCH:-', lbranch)
        elif (lid == dummy):
            print('\nno records......')
        else:
            print('\nRegister inorder to access database.....')
    choice()