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

Python all function - #826

Merged
3 commits merged into
freeCodeCamp:masterfrom
alayek:python-all
Apr 30, 2016
Merged

Python all function#826
3 commits merged into
freeCodeCamp:masterfrom
alayek:python-all

Conversation

@alayek

@alayek alayek commented Apr 30, 2016

Copy link
Copy Markdown
Member

In reference to all() in #819

Comment thread python-all.md Outdated
@@ -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
Copy Markdown

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
Copy Markdown
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
Comment thread python-all.md Outdated
```
:rocket: [REPL It!](https://repl.it/CL9U/0)

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Official Docs

@ghost

ghost commented Apr 30, 2016

Copy link
Copy Markdown

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
Copy Markdown
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.

4 participants