Aug 30, 2024
print
function to display text: print("Hello, world!")
.True
or False
(case-sensitive).input()
to receive input, e.g., name = input("What is your name?")
.int()
, float()
, bool()
, str()
..upper()
, .lower()
, .find()
, .replace()
.in
operator to check for substrings.x += 3
equivalent to x = x + 3
.>
, >=
, <
, <=
, ==
, !=
.and
, or
, not
for building complex conditions.if
, elif
, else
used to evaluate conditions.[]
to create lists..append()
, .insert()
, .remove()
, .clear()
.in
to check for existence, len()
for length.()
.range(start, stop, step)
.