The adjective expedient means something is helpful or useful in a particular situation, but sometimes not morally acceptable.
Synonyms are advantageous, desirable, feasible, or opportune.
The word origins from Old French (14th century) expedient meaning “useful, beneficial”, directly from Latin expedientem meaning “beneficial”, present participle of expedire meaning “make fit or ready, prepare”.
Ken expressed to be energised by the expedient of wearing his shirt with the sleeves rolled up.
Most students survive the semester by the expedient of making friends with other students.
The book was shortly expedient.