salam if someone didn't do their homework or other schoolwork and you let them borrow yours is this permissible?

Walaikumussalam
If it is not against the school policy then yes you can.
Wassalam