Python operators

From wikinotes
Revision as of 17:35, 6 May 2018 by Will (talk | contribs) (→‎Bitwise Operators)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Operators

if ( x = 1 ) :             #regular if statement
if (not( x =1 )) :         #if not statement
if (x = 1) and (y=2) :     #if and statement
if (x > 10) and (x < 20) : #if or statement

Bitwise Operators

TODO:

unfinished