Alias

Booleans

Code block

Conditions

Console

Equality operator

False

Float

For loop

Formatted strings

Functions

Greater than operator

Greater than or equal to operator

If statement

Index

Inequality operator

Integer

Less than operator

Less than or equal to operator

Lists

Parameter

Return

Snake case

String

The not operator

True

Variables

While loop

append()

insert()

pop()

Booleans

Code block

Conditions

Console

Equality operator

False

Float

For loop

Formatted strings

Functions

Greater than operator

Greater than or equal to operator

If statement

Index

Inequality operator

Integer

Less than operator

Less than or equal to operator

Lists

Parameter

Return

Snake case

String

The not operator

True

Variables

While loop

append()

insert()

pop()

To check if a number isn't equal to another number, we use the **inequality operator**, `!=`

.

print(1 != 10)

We can store the result of a comparison with the inequality operator in a variable like here where we'll store the comparison `1 != 2`

.

result = 1 != 2
print(result)

To check if a string isn't equal to another string, we use the **inequality operator**, `!=`

.

print("subscribed" != "rejected")