<human>:  Write me a Python code for encoding a string as binary.
<bot>:)

# Enter the string
string = "hello"

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

#Example Output
# 104101108108111

#Remember to inspect code for bugs.