15 September 2026
Blue Supply Tags
Easy
Lists
Strings
Keep the supply tags that start with the letter B.
You are given a list of uppercase supply tags. Look at each tag and keep it when its first letter is B. Return the kept tags in their original order. If no tag starts with B, return an empty list.
Constraints
tags contains from 0 to 1,000 uppercase ASCII stringsEach tag has from 1 to 20 lettersReturn tags in their original order
Function signature
def blue_supply_tags(tags):