Functions in Python can have default arguments, meaning if a parameter is not provided, it will resort on using the default value set in the function definition.
Defining a function in Python requires the keyword def followed by the function name, a pair of parentheses that will contain the parameters passed on the function and a colon.
Python uses various comparison operators to check conditions, such as == (equal), != (not equal), < (less than), > (greater than), <= (less than or equal to), and >= (greater than or equal to).
The IF statement in Python is the first conditional statement you’ll encounter every time you learn a new programming language that supports conditionals.
One example of a condition in Python is: "If the score I got in a major exam is greater than 50, then I pass the test, however if I got a score below that then I will definitely fail".
In Python, you can assign a different type to the assigned type of the variable, for example, assigning a String value to the variable myNumber even though it already has an integer assigned to it.
Python provides a default value to the parameter greeting, so that whenever a function does not provide a specified parameter, it will resort on "Hello" instead.