Attitudes of pupils and students towards lifelong learning