Skip to content
This repository was archived by the owner on Apr 1, 2021. It is now read-only.

Comments

Create Python-Function-Complex.md#1206

Merged
alayek merged 4 commits intofreeCodeCamp:masterfrom
ayushin78:master
Jul 3, 2016
Merged

Create Python-Function-Complex.md#1206
alayek merged 4 commits intofreeCodeCamp:masterfrom
ayushin78:master

Conversation

@ayushin78
Copy link
Contributor

For issue #819

@ghost ghost assigned ghost and alayek Jul 2, 2016
@ghost ghost added QA Python labels Jul 2, 2016

1. **Numeric Arguments**

- When called with two arguments, both being numbers of any numeric type (including complex), this function returns a complex number using both arguments.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to tab these.

@ayushin78
Copy link
Contributor Author

@atjonathan Is it okay now?

@ghost
Copy link

ghost commented Jul 2, 2016

LGTM 👍

@alayek, please take a look.

@alayek
Copy link
Member

alayek commented Jul 2, 2016

Am out now, will take a look asap when back.


sent from my phone

@@ -0,0 +1,54 @@
# Python Complex()

`complex()` is a built-in function in Python 3 that hanldles the creation of a complex number according to the arguments passed. It returns a complex number with the value `real + imag*1j` when called in form of `complex(real, imag)` or converts a string or number to a complex number.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a beginners' article, I would recommend adding a brief description of what a complex number is.

At the very least, where you first mention complex, link to some external wiki article (say Wikipedia) about what is a complex number.

@alayek
Copy link
Member

alayek commented Jul 3, 2016

LGTM 👍

Let's :shipit: 📦

@alayek alayek merged commit ba611ac into freeCodeCamp:master Jul 3, 2016
@BerkeleyTrue BerkeleyTrue removed the QA label Jul 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants