Human: automatic indentation function def. Assistant: 
Here is a Python program to automatically defint indentation

import re

def autoindent(text):
    """
    Autoindent function.
    """
    return re.sub(r"(?<!\S)\s+", "\n" + " " * 4, text)

# Enter the string
string = "hello"

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

#Example Output
# hello

#Remember to inspect code for bugs.