12.07.2015 Views

Python

Python

Python

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.3. Operatori i operacije 29Operator Opis Ax+y, x-y Zbajanje, oduzimanje Lxy, xy Lijevi pomak, desni pomak Lx&y Bitwise I (AND) Lx ∧ y Bitwise eksluzivni ILI (XOR) Lx|y Bitwise ILI (OR) Lx < y, x y, x >=y, x y, x! = y, x == yUsporedbeNAx is y, x is not y Provjera identiteta NAx in y, x not in y Provjera £lanstva NAnot x Bool-ov NE (NOT) NAx and y Bool-ov I (AND) Lx or y Bool-ov ILI (OR) Llambda arg,...: izrazAnonimna jednostavnafunkcijaNAOperatori usporedbe mogu se nizati, £ime se implicira logi£na I (and) funkcija. Na primjer:a < b

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!