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 due the following week.
Complete the following task based on the instruction and optional input provided.### 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"

### Output:
The professor lectured for two hours and assigned a final due the following week.