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

Article: Python abs() #825

Merged
4 commits merged into from
Apr 30, 2016
Merged

Article: Python abs() #825

4 commits merged into from
Apr 30, 2016

Conversation

alayek
Copy link
Member

@alayek alayek commented Apr 30, 2016

As part of #819

@alayek alayek added the Python label Apr 30, 2016
@alayek alayek added this to the May Summit milestone Apr 30, 2016
@alayek alayek force-pushed the python-functions branch 2 times, most recently from 7726405 to e7e3615 Compare April 30, 2016 12:54
@@ -0,0 +1,20 @@
# Python abs(x)

`abs()` is a built in function in Python 3, to compute the absolute value of any number. It takes one argument `x`. The argument can even be a [complex number](https://docs.python.org/3.0/library/cmath.html), and in that case its [modulus](http://www.mathcentre.ac.uk/resources/sigma%20complex%20number%20leaflets/sigma-complex9-2009-1.pdf) is returned.
Copy link

@ghost ghost Apr 30, 2016

Choose a reason for hiding this comment

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

"built in function in Python 3": Repetitive use of the word in.
Maybe change to: "built in function with Python 3".

@ghost ghost self-assigned this Apr 30, 2016
@Rafase282
Copy link
Member

Please rename the file to Python-Function-ABS.md

@ghost ghost changed the title Add python-abs.md Article: Python abs() Apr 30, 2016
@Rafase282
Copy link
Member

LGTM

@ghost ghost merged commit d18c1c1 into freeCodeCamp:master Apr 30, 2016
@BerkeleyTrue BerkeleyTrue removed the QA label Apr 30, 2016
waliahimanshu pushed a commit to waliahimanshu/wiki that referenced this pull request May 5, 2016
* Add python-abs.md

* Fix built-in

* Add some fixes

* Rename python abs
Rafase282 added a commit to Rafase282/wiki that referenced this pull request May 6, 2016
* 'csharp' of git://github.com/waliahimanshu/wiki: (125 commits)
  using Title Case for heading and subheadings
  Add cities, May 01 2016
  Fix spacing of "PR" in PR Contribute article
  Add REPL snippets to pairwise
  Add REPL snippet to map the debris
  Add REPL snippets to Make a person
  Add REPL snippets to friendly date ranges
  Add REPL snippet to no repeats please
  Add REPL snippets to inventory update
  Add REPL snippets to exact change
  Add REPL snippets to symmetric difference
  Add repl snippet to validate us telephone numbers
  Add cities, April 30 2016
  Add REPL snippets to JS Intermediate Algorithm Challenges
  Added repl.it snippets to all basic algorithms
  Split python operators article
  Fixed Java Math.sqrt Article
  Rename python-any
  Rename python-all
  Article: Python abs() (freeCodeCamp#825)
  ...
This pull request was closed.
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