Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> a = complex(2, 3)
- >>> a
- (2+3j)
- >>> type(a)
- <type 'complex'>
- >>> b = complex(3, 4)
- >>> b
- (3+4j)
- >>> type(b)
- <type 'complex'>
- >>> a + b
- (5+7j)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement