Human: zeropadding to string in. Assistant: 
Here is a Python function for zeropadding to string

import string

def zeropadding(string, length):
    """
    Returns a string with the given length by adding 0s to the end of the string.
    """
    return '0' * (length - len(string)) + string

# Enter the string
string = "lilly"

# Enter the length
length = 10

# Calling the function
print((zeropadding(string, length)))

#Example Output
# 00000lilly

#Remember to inspect code for bugs.