def get_user_expense(items, user):
    """Returns expense per user

    Args:
        items (List[List[str, float, dict]]): Constains the parsed expense
        user (str): User name
    
    Returns:
        Total expense for the user.
    """
    total_user_expense = 0.0
    for item in items:
        distribution = item[2]
        if user in distribution:
            total_user_expense += distribution[user]
    return total_user_expense