Python

recent codes

  1. Show that the expression (i/i*j=i , (x+y)-y=x) may become invalid when treated numerically. (link to code)
  2. Sum up 1/n where n=1,2,3,…,100000 and reverse order, Explain any unexpected observation while using single or double precision variables. (link to code)

Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales. In July 2018, Van Rossum stepped down as the leader in the language community.

Python features a dynamic type system and automatic memory management. It supports multiple programming paradigms, including object-oriented, imperative, functional and procedural, and has a large and comprehensive standard library.

simple codes in python shell (windows)

Python interpreters are available for many operating systems. CPython, the reference implementation of Python, is open source software and has a community-based development model, as do nearly all of Python’s other implementations. Python and CPython are managed by the non-profit Python Software Foundation.

Python API documentation generators include:

  • Sphinx
  • Epydoc
  • HeaderDoc
  • pydoc
Share this Page