output python function code example Example 1: print() in python print('hi, baby!') Example 2: print in python a = 5 print('The value of a is', a)