Python is a computer programming language often used to build websites and software, automate tasks, and conduct data analysis. Python is a high-level, general-purpose language, meaning it can be used to create a variety of different programs and isn't specialized for any specific problems.

Use Python for:
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 3: Simple output (with Unicode)
>>> print("Hello World, I'm Python!")
Hello World, I'm Python!

# 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


Comments

Popular Posts