Problem scenario
You want to write a Python program with a unbound method. What should you do?
Solution
The definition of an unbound method is a method or function that is not part of a class. Run this program and you will invoke an unbound method:
#!/usr/bin/env python
def unboundexample():
print("This function is not bound to a class. Therefore it will work without an object being created")
unboundexample()