def delete():
    if (lid == dummy):
        print('No records found to delete.....')
    else:
        try:
            id = int(input('\nEnter your id:'))
        except ValueError:
            print('\nEnter the valid integer id.....')
            delete()
        else:
            if (id in lid):
                delid.append(id)
                d = lid.index(id)
                del lid[d]
                del lname[d]
                del lcollege[d]
                del lbranch[d]
                print('\ndetails of your id has been deleted sucessfully......')
            elif (id in delid):
                print('\nDetails of this id has been deleted......')
            else:
                print('\nregister the id... ')
    choice()
def delete():
    if (lid == dummy):
        print('No records found to delete.....')
    else:
        try:
            id = int(input('\nEnter your id:'))
        except ValueError:
            print('\nEnter the valid integer id.....')
            delete()
        else:
            if (id in lid):
                delid.append(id)
                d = lid.index(id)
                del lid[d]
                del lname[d]
                del lcollege[d]
                del lbranch[d]
                print('\ndetails of your id has been deleted sucessfully......')
            elif (id in delid):
                print('\nDetails of this id has been deleted......')
            else:
                print('\nregister the id... ')
    choice()