<human>:  What is a good Python function to count whitespace characters? What is python's good function to count the whitespace characters in Python.
<bot>:)

# Enter the string
string = "hello world"

# Calling the function
print((count_whitespace(string)))

#Example Output
# 0

#Remember to inspect code for bugs.