news about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
If you are about to ask a question, please consider r/learnpython. Homework-style questions will be removed, and you'll be encouraged to post there instead.
Please don't use URL shorteners
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci():
a, b = 0, 1
while True:
yield a
a, b = b, a + b
Online Books and Resources
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
[–]rroocckk[S] 4 points5 points6 points (3 children)
[–]spinwizard69 3 points4 points5 points (2 children)
[–]rroocckk[S] 7 points8 points9 points (0 children)
[–]is_it_fun 1 point2 points3 points (0 children)
[–]toyg 3 points4 points5 points (1 child)
[–]vmpajares 2 points3 points4 points (0 children)
[–]new_whistle 3 points4 points5 points (9 children)
[–]rroocckk[S] 1 point2 points3 points (0 children)
[–]billsil 0 points1 point2 points (4 children)
[–]aiPh8Se 5 points6 points7 points (3 children)
[–]new_whistle 0 points1 point2 points (0 children)
[–]billsil 0 points1 point2 points (0 children)
[–]beaverteeth92Python 3 is the way to be 0 points1 point2 points (0 children)
[–]breamoreboy 0 points1 point2 points (2 children)
[–]throwaway143259 0 points1 point2 points (1 child)
[–]breamoreboy 0 points1 point2 points (0 children)