Title
Welcome to Python.org
Go Home
Category
Description
The official home of the Python Programming Language
Address
Phone Number
+1 609-831-2326 (US) | Message me
Site Icon
Welcome to Python.org
Page Views
0
Share
Update Time
2022-05-01 23:45:38

"I love Welcome to Python.org"

www.python.org VS www.gqak.com

2022-05-01 23:45:38

Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience. Skip to content ▼ Close Python PSF Docs PyPI Jobs Community ▲ The Python Network Donate ≡ Menu A A Smaller Larger Reset Socialize Facebook Twitter Chat on IRC About Applications Quotes Getting Started Help Python Brochure Downloads All releases Source code Windows macOS Other Platforms License Alternative Implementations Documentation Docs Audio/Visual Talks Beginner's Guide Developer's Guide FAQ Non-English Docs PEP Index Python Books Python Essays Community Diversity Mailing Lists IRC Forums PSF Annual Impact Report Python Conferences Special Interest Groups Python Logo Python Wiki Merchandise Community Awards Code of Conduct Get Involved Shared Stories Success Stories Arts Business Education Engineering Government Scientific Software Development News Python News PSF Newsletter Community News PSF News PyCon News Events Python Events User Group Events Python Events Archive User Group Events Archive Submit an Event >_ 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 DefinedThe core of extensible programming is defining functions. Python allows mandatory and optional arguments, keyword arguments, and even arbitrary argument lists. More about defining functions in Python3 # Python 3: List comprehensions>>> fruits = ['Banana', 'Apple', 'Lime']>>> loud_fruits = [fruit.upper() for fruit in fruits]>>> print(loud_fruits)['BANANA', 'APPLE', 'LIME']# List and the enumerate function>>> list(enumerate(fruits))[(0, 'Banana'), (1, 'Apple'), (2, 'Lime')] Compound Data TypesLists (known as arrays in other languages) are one of the compound data types that Python understands. Lists can be indexed, sliced and manipulated with other built-in functions. More about lists in Python3 # Python 3: Simple arithmetic>>> 1 / 20.5>>> 2 ** 38>>> 17 / 3 # classic division returns a float5.666666666666667>>> 17 // 3 # floor division5 Intuitive InterpretationCalculations are simple with Python, and expression syntax is straightforward: the operators +, -, * and / work as expected; parentheses () can be used for grouping. More about simple math functions in Python3. # Python 3: Simple output (with Unicode)>>> print("Hello, I'm Python!")Hello, I'm Python!# Input, assignment>>> name = input('What is your name?\n')>>> print('Hi, %s.' % name)What is your name?PythonHi, Python. Quick & Easy to LearnExperienced programmers in any other language can pick up Python very quickly, and beginners find the clean syntax and indentation structure easy to learn. Whet your appetite with our Python3 overview. # For loop on a list>>> numbers = [2, 4, 6, 8]>>> product = 1>>> for number in numbers:... product = product * number... >>> print('The product is:', product)The product is: 384 All the Flow You’d ExpectPython knows the usual control flow statements that other languages speak — if, for, while and range — with some of its own twists, of course. More control flow tools in Python3 Python is a programming language that lets you work quickly and integrate systems more effectively. Learn More Contribute today to the ?thon PSF Spring Fundraiser and show your love for Python! Donate Now Get StartedWhether you're new to programming or an experienced developer, it's easy to learn and use Python.Start with our Beginner’s Guide DownloadPython source code and installers are available for download for all versions!Latest: Python 3.10.4 DocsDocumentation for Python's standard library, along with tutorials and guides, are available online.docs.python.org JobsLooking 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 2022-04-21 Announcing Python Software Foundation Fellow Members for Q1 2022! ? 2022-04-07 PSF Welcomes New Executive Director Deb Nicholson 2022-04-06 The last Python 3.11 alpha (3.11.0a7) is available 2022-03-24 Python 3.10.4 and 3.9.12 are now available out of schedule 2022-03-22 Meta deepens its investment in the Python ecosystem Upcoming Events More 2022-05-06 PyCon Kenya Conference 2022 2022-05-21 Django Girls Malabo 2022-05-21 Django Girls Groningen 2022-05-26 PyCon LT 2022 2022-06-02 PyCon Italy 22 Success Stories More Python powers major aspects of Abridge’s ML lifecycle, including data annotation, research and experimentation, and ML model deployment to production. Abridging clinical conversations using Python by Nimshi Venkat and Sandeep Konam 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 (PEPs): The future of Python is discussed here. RSS >>> Python Software FoundationThe 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 ▲ Back to Top About Applications Quotes Getting Started Help Python Brochure Downloads All releases Source code Windows macOS Other Platforms License Alternative Implementations Documentation Docs Audio/Visual Talks Beginner's Guide Developer's Guide FAQ Non-English Docs PEP Index Python Books Python Essays Community Diversity Mailing Lists IRC Forums PSF Annual Impact Report Python Conferences Special Interest Groups Python Logo Python Wiki Merchandise Community Awards Code of Conduct Get Involved Shared Stories Success Stories Arts Business Education Engineering Government Scientific Software Development News Python News PSF Newsletter Community News PSF News PyCon News Events Python Events User Group Events Python Events Archive User Group Events Archive Submit an Event Contributing Developer's Guide Issue Tracker python-dev list Core Mentorship Report a Security Issue ▲ Back to Top Help & General Contact Diversity Initiatives Submit Website Bug Status Copyright ©2001-2022. Python Software Foundation Legal Statements Privacy Policy Powered by Heroku