I have a list called [[ 0.99950892]]
I want to have just 0.99950892
However when I use [[ 0.99950892]][0][0][0]. The output is (0.99975443124+0j). I don't want the parenthesis and the imaginary part. What should I do?
I have a list called [[ 0.99950892]]
I want to have just 0.99950892
However when I use [[ 0.99950892]][0][0][0]. The output is (0.99975443124+0j). I don't want the parenthesis and the imaginary part. What should I do?
>>> [[x]] = [[0.99950892]]
>>> x.real
0.99950892
برچسب:
نویسنده: استخدام کار