Part III
Attempt and Criminal Joint Acts
Chapter I
Attempt
Definition of attempt
19. Attempt is the commission of an act which apparently indicates the intention to commit an offence, where the offence has not been consummated, due to a cause beyond the offender's will .
Penalty for attempt
20.(1) Whoever attempts to commit an offence shall be punished with imprisonment, for a term, which may not exceed one-half of the maximum term prescribed for that offence, and where attempt constitutes an independent offence, the offender shall be punished with the penalty prescribed therefor.
(2) Where the penalty of any one offence is death or amputation, punishment for attempt thereof shall be imprisonment, for a term, not exceeding seven years.
EDIT.