<human>:  Write me a Python code to remove non-alphanumeric characters from string strings.
<bot>:)

# Enter the string
string_to_remove = "This is a string to remove non alphanumeric characters from"

# Calling the function
print((remove_non_alphanumeric(string_to_remove)))

#Example Output
# Thisisastringtoremovenonalphanumericcharactersfrom

#Remember to inspect code for bugs.