import ipaddress


def get_hosts(network):
    """get_hosts() will return all the hosts within a provided network, range"""
    network = ipaddress.IPv4Network(network, strict=False)
    hosts_obj = network.hosts()
    hosts = []
    for i in hosts_obj:
        hosts.append(str(i))
    return hosts