Symbols

@

 

Operator

Description: Decorator – See general Python documentation for details.

ƒ T
(above Â)

 

y N

 

<<

 

Operator

Syntax: x<<n

Description: Bitwise left shift by n bits.

y N

 

>>

 

Operator

Syntax: x>>n

Description: Bitwise right shift by n bits.

y N

 

|

 

Operator

Syntax: x|y

Description: Bitwise or.

y N

 

&

 

Operator

Syntax: x&y

Description: Bitwise and.

y N

 

^

 

Operator

Syntax: x^y

Description: Bitwise exclusive or.

y N

 

~

 

Operator

Syntax: ~x

Description: Bitwise not; the bits of x inverted.

y N

 

x<=y

 

Operator

Syntax: x<=y

Description: Comparison; x less than or equal to y.

Example:

>>>2<=5

True

>>>3<=0

False

»
1:math > Ops
7:x<=y

 

y N

 

[Fns…] > Ops
7:x<=y

 

[a A #]

 

x<y

 

Operator

Syntax: x<y

Description: Comparison; x strictly less than y.

Example:

>>>6<10

True

>>>12<-15

False

»
1:math > Ops
6:x<y

 

y N

 

[Fns…] > Ops
6:x<y

 

[a A #]

 

x>=y

 

Operator

Syntax: x>=y

Description: Comparison; x greater than or equal to y.

Example:

>>>35>=25

True

>>>14>=65

False

»
1:math > Ops
5:x>=y

 

y N

 

[Fns…] > Ops
5:x>=y

 

[a A #]

 

x>y

 

Operator

Syntax: x>y

Description: Comparison; x strictly greater than y.

Example:

>>>35>25

True

>>>14>65

False

»
1:math > Ops
4:x>y

 

y N

 

[Fns…] > Ops
4:x>y

 

[a A #]

 

x!=y

 

Operator

Syntax: x!=y

Description: Comparison; x not equal to y.

Example:

>>>35!=25

True

>>>14!=10+4

False

»
1:math > Ops
3:x!=y

 

y N

 

[Fns…] > Ops
3:x!=y

 

[a A #]

 

x==y

 

Operator

Syntax: x==y

Description: Comparison; x is equal to y.

Example:

>>>75==25+50

True

>>>1/3==0.333333

False

>>>1/3==0.3333333             #equal to stored Python value

True

»
1:math > Ops
2:x==y

 

y N

 

[Fns…] > Ops
2:x==y

 

[a A #]

 

x=y

 

Operator

Syntax: x=y

Description: y is stored in variable x

Example:

>>>A=5.0

>>>print(A)

5.0

>>>B=2**3             #Use [ ^ ] on keypad for **

>>>print(B)

8

¿

 

»
1:math > Ops
1:x=y

 

y N

 

[Fns…] > Ops
1:x=y

 

[a A #]

 

\

 

Delimiter

Description: Backslash character.

y N

[a A #]

 

\t

 

Delimiter

Description: Tab space between strings or characters.

yN

 

\n

 

Delimiter

Description: New line to display string neatly on the screen.

y N

 

' '

 

Delimiter

Description: Two single quotes paste.

Example:

>>>eval(‘a+10’)

17

y L
(above Ã)

 

y N

[a A #]

 

" "

 

Delimiter

Description: Two double quotes paste.

Example:

>>>print("Ok")

ƒ W
(above Ã)

 

y N

[a A #]