381. Whoever attempts to commit robbery shall be punished with rigorous . c . , . , , , imprisonment for a term which may exte"c to seven years, and shall also be liable to fine. *Attempt to commlt robbery.*