def json_elements_to_weight_fractions(elements):
    """Calculate element weight fractions from the Elements data."""
    results = []
    for element in elements:
        assert element["Element"].isalpha()
        line = f"{element['Element']} {element['WeightFraction_whole']:.6f}"
        results.append(line)
    return results