I have tried notepad++ and eclipse but even then , it is showing me an indentation error at line 18. I don\'t know, why it is throwing me an error like that...? please help
It looks like you're using the wrong single quote mark. You need to use ', not ’.
'
’
Not sure if this is your problem though.