If, at the time of attempting to commit robbery or dacoity, the offender is armed with any deadly weapon, the imprisonment with which such offender shall be punished shall not be less than seven years.
392 IPC Punishment for robbery
393 IPC Attempt to commit robbery
394 IPC Voluntarily causing hurt in committing robbery
395 IPC Punishment for dacoity
397 IPC Robbery, or dacoity, with attempt to cause death or grievous hurt
398 IPC Attempt to commit robbery or dacoity when armed with deadly weapon