My code is throwing the error

please look into my code that why it is throwing the error

hi @Anku47 can you tell me what is the logic of this code?