{"id":25429,"date":"2021-11-13T14:59:39","date_gmt":"2021-11-13T09:29:39","guid":{"rendered":"https:\/\/python-programs.com\/?p=25429"},"modified":"2021-11-14T15:01:59","modified_gmt":"2021-11-14T09:31:59","slug":"python-cmath-sqrt-method-with-examples","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-cmath-sqrt-method-with-examples\/","title":{"rendered":"Python cmath.sqrt() Method with Examples"},"content":{"rendered":"

cmath.sqrt() Method in Python:<\/strong><\/p>\n

The cmath.sqrt() method returns the given complex number’s square root.<\/p>\n

Note:<\/strong> It should be noted that the number must be greater than or equal to 0.<\/p>\n

Syntax:<\/strong><\/p>\n

cmath.sqrt(x)<\/pre>\n

Parameters<\/strong><\/p>\n

x:<\/strong> This is Required. A number whose square root is to be found.<\/p>\n