File: simple.py

package info (click to toggle)
python-bumps 1.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,200 kB
  • sloc: python: 24,517; xml: 493; ansic: 373; makefile: 211; javascript: 99; sh: 94
file content (2 lines) | stat: -rw-r--r-- 55 bytes parent folder | download | duplicates (2)
1
2
def f(x):
    return (x[0] - 3) ** 2 + (x[1] - 5) ** 2