Stage 2 — collecting non-Go launches

JackStackOP

How do I print them on one line after the Go ones?

11

Comments 4

Join the discussion

Already have an account? Log in

  1. SamPricereplies: 2

    Collect them in a list during the same loop (formatted as "name (status)"), then after the loop join them with ", ". If the list is empty, print "none".

    1
    1. MateoG

      Comparing status — make sure it's exactly "Go", not "GO" or "go". Data from APIs can be picky.

      0