This website requires JavaScript.
Explore
Help
Register
Sign In
chenxuan
/
python
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
c7201802f29cc46e76fb579dd5ee7cff469f0a24
python
/
pythonProject
/
基础
/
复数类型.py
T
4 lines
84 B
Python
Raw
Normal View
History
Unescape
Escape
no message
2023-12-23 22:29:46 +08:00
#由实部和虚部组成
a
=
123
+
123
j
print
(
"实部:"
,
a
.
real
)
print
(
"虚部:"
,
a
.
imag
)
Reference in New Issue
Copy Permalink