Skip to content

Problem with blanks at the beginning and end of items in labels list #2

@virsto

Description

@virsto

If I use the example in your video with your function color_title:

labels = ["What's Good for the ", "Goose", " is good for the ", "Gander."]
colors = ['black', 'C1', 'black','C2']
color_title(labels, colors)

The blank at the end of the 1st label, blank at the beginning of the 3rd label, and blank at the end of the 3rd label are removed by color_title.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions