def pick_pens(writing_colours, is_marking): if is_marking is True: writing_colours. add('red') return writing_colours