Error in the code

hello @tharun

a) image
in place of n ,it should be g.

b) image
this should be l not 1.