Python Reference (The Right Way)
latest
Introduction
Definitions
Coding Guidelines
Fundamental Data Types
Built-In Functions
Comprehensions and Generator Expression
Container Data Access
Operators
Statements
Other Objects
Double Underscore Methods and Variables
Exceptions
Constants
Boilerplate
Glimpse of the PSL
Resources
Licence
Python Reference (The Right Way)
Docs
»
real
Edit on GitHub
real
¶
Description
¶
Retrieves the real component of this number.
Syntax
¶
complex
.
real
Return Value
¶
float
Example
¶
>>>
(
1
+
3
j
)
.
real
1.0
See Also
¶
imag
Read the Docs
v: latest
Versions
latest
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.