Share your repls and programming experiences
There was a syntax error in the given code which i rectified easily.