Oct 25, 2024
print()
function to display values.print()
.input()
function.sep
parameter in print()
.end
parameter controls what is printed at the end of the output (default is newline).int()
and float()
.None
to initialize variables that might not have a value initially.len()
to find the length of strings.if
, elif
, and else
statements control the flow of the program.and
, or
, not
.append()
, insert()
, remove()
, pop()
, sort()
, reverse()
, len()
.def
. Functions improve code reusability and readability.len()
, but higher-order functions like map
will be discussed later.