Please help me out with this question

Can u please tell me that why my one test case is failing …please tell me the correction to be made…I have shared my code below…

Hi @shulin,
Just a small error , when the roots are imaginary instead of printing Imaginary Roots you have to simply print “Imaginary” without quotes.