how to write a function the prints a string python code example Example: print python print('Hello, world!')