Home / Python Append / How to Create Functions That Return a Boolean Value in Python In this example we will show how to create functions that return a Boolean Value in Python. Source Code def my_function(): return True print(my_function()) Output: True