Skip to content

print

Source

Hook for printing an input and returning the output. Link

Inputs

Name Type Default Required Description
objects any None False The objects to print.
sep str False Separator between printed objects.
end str '\n' False What to print at the end
flush bool False False No clue.

Arguments

Position Argument Type
1 objects any

Returns

NoneType

Examples

Compact print - most common use

compact->: print stuff and things

Expanded print

expanded:
  ->: print
  objects: stuff and
  end: " "
Output:
stuff and things