HELP with Exercise 4

Hey @asimkhada,
I guess the error here is pretty self-explicable. The error lies in the indentation of your code. If you are unaware about the significance of indentation in python, then please check out 07 of this thread.

P.S. - Posting solution code publicly is strictly against the community guidelines. Please refrain from doing so in the future.