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

Python all function #826

Merged
3 commits merged into from
Apr 30, 2016
Merged

Python all function #826

3 commits merged into from
Apr 30, 2016

Conversation

alayek
Copy link
Member

@alayek alayek commented Apr 30, 2016

In reference to all() in #819

@@ -0,0 +1,40 @@
# Python all(iterable)

`all()` is a built in function in Python 3, to check if all items of an [_iterable_](https://docs.python.org/3/glossary.html#term-iterable) is `True`. It takes one argument, `iterable`.
Copy link

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".

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it would be better to do it like

built-in function in Python 3

The in before Python 3 is standard.

@ghost ghost self-assigned this Apr 30, 2016
```
:rocket: [REPL It!](https://repl.it/CL9U/0)

[Documentation](https://docs.python.org/3/library/functions.html#all)
Copy link
Member

Choose a reason for hiding this comment

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

Official Docs

@ghost
Copy link

ghost commented Apr 30, 2016

Thanks @alayek :shipit:

@ghost ghost merged commit e383a24 into freeCodeCamp:master Apr 30, 2016
@BerkeleyTrue BerkeleyTrue removed the QA label Apr 30, 2016
@Rafase282
Copy link
Member

The filename is lowercase.

waliahimanshu pushed a commit to waliahimanshu/wiki that referenced this pull request May 5, 2016
* Add Python all

* Fix built in

* Add some more fixes
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.

None yet

4 participants