From 72f4787765100e53c4803d3f71d76fd3101f8a31 Mon Sep 17 00:00:00 2001 From: 30secondsofcode <30secondsofcode@gmail.com> Date: Wed, 21 Aug 2019 07:44:45 +0000 Subject: [PATCH] Travis build: 29 --- README.md | 76 +++++++++++++++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 63806af1a..49a77433d 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,24 @@ -![Logo](/icon.png) - -## 30-seconds-of-python - -> Curated collection of useful Python snippets that you can understand in 30 seconds or less. - -* Use Ctrl + F or command + F to search for a snippet. -* Contributions welcome, please read the [contribution guide](CONTRIBUTING.md). -* If you want to follow 30-seconds-of-code on social media, you can find us on [Facebook](https://www.facebook.com/30secondsofcode), [Instagram](https://www.instagram.com/30secondsofcode) and [Twitter](https://twitter.com/30secondsofcode). - -#### Related projects - -* [30 Seconds of code](https://github.com/30-seconds/30-seconds-of-code) -* [30 Seconds of CSS](https://30-seconds.github.io/30-seconds-of-css/) -* [30 Seconds of Interviews](https://30secondsofinterviews.org/) -* [30 Seconds of React](https://github.com/30-seconds/30-seconds-of-react) -* [30 Seconds of PHP](https://github.com/30-seconds/30-seconds-of-php-code) -* [30 Seconds of Knowledge](https://chrome.google.com/webstore/detail/30-seconds-of-knowledge/mmgplondnjekobonklacmemikcnhklla) -* [30 Seconds of Kotlin](https://github.com/IvanMwiruki/30-seconds-of-kotlin) _(unofficial)_ - -## Contents +![Logo](/icon.png) + +## 30-seconds-of-python + +> Curated collection of useful Python snippets that you can understand in 30 seconds or less. + +* Use Ctrl + F or command + F to search for a snippet. +* Contributions welcome, please read the [contribution guide](CONTRIBUTING.md). +* If you want to follow 30-seconds-of-code on social media, you can find us on [Facebook](https://www.facebook.com/30secondsofcode), [Instagram](https://www.instagram.com/30secondsofcode) and [Twitter](https://twitter.com/30secondsofcode). + +#### Related projects + +* [30 Seconds of code](https://github.com/30-seconds/30-seconds-of-code) +* [30 Seconds of CSS](https://30-seconds.github.io/30-seconds-of-css/) +* [30 Seconds of Interviews](https://30secondsofinterviews.org/) +* [30 Seconds of React](https://github.com/30-seconds/30-seconds-of-react) +* [30 Seconds of PHP](https://github.com/30-seconds/30-seconds-of-php-code) +* [30 Seconds of Knowledge](https://chrome.google.com/webstore/detail/30-seconds-of-knowledge/mmgplondnjekobonklacmemikcnhklla) +* [30 Seconds of Kotlin](https://github.com/IvanMwiruki/30-seconds-of-kotlin) _(unofficial)_ + +## Contents ### List @@ -1255,15 +1255,15 @@ Starting with `0` and `1`, use `list.apoend() to add the sum of the last two num If `n` is less or equal to `0`, return a list containing `0`. ```py -def fibonacci(n): - if n <= 0: - return [0] - - sequence = [0, 1] - while len(sequence) <= n: - next_value = sequence[len(sequence) - 1] + sequence[len(sequence) - 2] - sequence.append(next_value) - +def fibonacci(n): + if n <= 0: + return [0] + + sequence = [0, 1] + while len(sequence) <= n: + next_value = sequence[len(sequence) - 1] + sequence[len(sequence) - 2] + sequence.append(next_value) + return sequence ``` @@ -1938,12 +1938,12 @@ cast_list([1]); # [1]
[⬆ Back to top](#contents) -## Collaborators - -| [](https://github.com/Chalarangelo)
[Angelos Chalaris](https://github.com/Chalarangelo) | [](https://github.com/fejes713)
[Stefan Feješ](https://github.com/fejes713) | [](https://github.com/kriadmin)
[Rohit Tanwar](https://github.com/kriadmin) | -| --- | --- | --- | - -## Credits - -*This README is built using [markdown-builder](https://github.com/30-seconds/markdown-builder).* +## Collaborators + +| [](https://github.com/Chalarangelo)
[Angelos Chalaris](https://github.com/Chalarangelo) | [](https://github.com/fejes713)
[Stefan Feješ](https://github.com/fejes713) | [](https://github.com/kriadmin)
[Rohit Tanwar](https://github.com/kriadmin) | +| --- | --- | --- | + +## Credits + +*This README is built using [markdown-builder](https://github.com/30-seconds/markdown-builder).*