393. Whoever attempts to commit robbery shall be punished with imprisonment for a term which may extend to seven years, and shall also be liable to fine.