For some reason this function confused me:
def protocol(port): return port == \"443\" and \"https://\" or \"http://\"
Can somebody expl
and returns the right operand if the left is true. or returns the right operand if the left is false. Otherwise they both return the left operand. They are said to coalesce.
and
or