Edit the following sentence to make it more concise and direct: "The professor lectured for two hours and at the end gave the students a final assignment which was due the following week"
The professor lectured for two hours and assigned a final task due the next week.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Edit the following sentence to make it more concise and direct: "The professor lectured for two hours and at the end gave the students a final assignment which was due the following week"

### Response:
The professor lectured for two hours and assigned a final task due the next week.