You are on page 1of 4

Skip to content

 Python
 PSF
 Docs
 PyPI
 Jobs
 Community

Donate
 Search This Site GO
 Socialize
About
 
 Downloads
 
 Documentation
 
 Community
 
 Success Stories
 
 News
 
 Events
 >_ Launch Interactive Shell
 # Python 3: Fibonacci series up to n
 >>> def fib(n):
 >>> a, b = 0, 1
 >>> while a < n:
 >>> print(a, end=' ')
 >>> a, b = b, a+b
 >>> print()
 >>> fib(1000)
 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987
Functions Defined
The core of extensible programming is defining functions. Python allows mandatory and optional a
1. 1
2. 2
3. 3
4. 4
5. 5
Python is a programming language that lets you work
quicklyand integrate systems more effectively. Learn More
Get Started
Whether you're new to programming or an experienced developer, it's easy to learn and use
Python.

Start with our Beginner’s Guide


Download
Python source code and installers are available for download for all versions!

Latest: Python 3.9.6
Docs
Documentation for Python's standard library, along with tutorials and guides, are available online.

docs.python.org
Jobs
Looking for work or have a Python related position that you're trying to hire for?
Our relaunched community-run job board is the place to go.
jobs.python.org

Latest News
More

 3021-07-22Python Software Foundation - July 2021 Newsletter


 2021-07-21Python Software Foundation Fellow Members for Q2 2021
 2021-07-12Łukasz Langa is the inaugural CPython Developer-in-Residence!
 2021-07-11Python 3.10.0b4 is available
 2021-07-11Python 3.10.0b4 is available
Upcoming Events
More

 2021-07-29Python Cloud & Python Quiz


 2021-07-31PyOhio 2021
 2021-08-07Pyladies Amsterdam - Bringing ML Models into Production Bootcamp -
Capstone results
 2021-09-10PyConline AU 2021
 2021-09-11PyCon Odessa 2021

Success Stories
More

When an Open Data standard is created and promoted, it’s important to


think why - what change is this trying to drive? What will people do with
this data that they couldn’t do before?
Saving the world with Open Data and Python by James Baster

Use Python for…


More

 Web Development:  Django ,  Pyramid ,  Bottle ,  Tornado ,  Flask ,  web2py


 GUI Development:  tkInter ,  PyGObject ,  PyQt ,  PySide ,  Kivy ,  wxPython
 Scientific and Numeric:  SciPy ,  Pandas ,  IPython
 Software Development:  Buildbot ,  Trac ,  Roundup
 System Administration:  Ansible ,  Salt ,  OpenStack ,  xonsh

>>> Python Enhancement Proposals: The future of PythonRSS


>>> Python
Software Foundation
The mission of the Python Software
Foundation is to promote, protect,
and advance the Python
programming language, and to
support and facilitate the growth of a
diverse and international community
of Python programmers. Learn more
Become a Member   Donate to

the PSF

 About
o Applications
o Quotes
o Getting Started
o Help
o Python Brochure
 Downloads
o All releases
o Source code
o Windows
o Mac OS X
o Other Platforms
o License
o Alternative Implementations
 Documentation
o Docs
o Audio/Visual Talks
o Beginner's Guide
o Developer's Guide
o FAQ
o Non-English Docs
o PEP Index
o Python Books
o Python Essays
 Community
o Community Survey
o Diversity
o Mailing Lists
o IRC
o Forums
o PSF Annual Impact Report
o Python Conferences
o Special Interest Groups
o Python Logo
o Python Wiki
o Merchandise
o Community Awards
o Code of Conduct
o Get Involved
o Shared Stories
 Success Stories
o Arts
o Business
o Education
o Engineering
o Government
o Scientific
o Software Development
 News
o Python News
o PSF Newsletter
o Community News
o PSF News
o PyCon News
 Events
o Python Events
o User Group Events
o Python Events Archive
o User Group Events Archive
o Submit an Event
 Contributing
o Developer's Guide
o Issue Tracker
o python-dev list
o Core Mentorship
o Report a Security Issue
 Help & General Contact
 
 Diversity Initiatives
 
 Submit Website Bug
 
 Status 
Copyright ©2001-2021.  Python Software Foundation  Legal Statements  Privacy Policy  Powered by Heroku

You might also like