Results for “brackets”

Showing 11–17 of 17

  1. Challenge

    Search the log

    …plus one for the space, and leave the end out. The time in brackets can grow longer, [T+100:02:00] , so work from position , not from a fixed number.

    Write the code Medium 2 stages strings in find slicing
  2. Challenge

    Waypoint distance

    …2 is dx squared, and ** 0.5 is the square root. Mind the brackets: ** runs before + . A route The rover won't stop at B: the route goes on to waypoint C, 780 m east and 920 m north. Add c_x and c_y…

    Write the code Easy 2 stages exponent square root ** Pythagoras
  3. Challenge

    CSV row

    …separate arguments and add sep="," at the end, inside the brackets of print() . No spaces after the commas: a program reading the file would keep them as part of the values. Header row A CSV file…

    Write the code Easy 3 stages print sep csv telemetry
  4. Challenge

    Log line format

    …INFO Engines nominal The time since launch in square brackets, the level, two spaces, then the message. Write the code that builds these lines from values, so nobody has to type them by hand. Fill in…

    Write the code Easy 2 stages f-strings print logs formatting
  5. Challenge

    Environment check

    …Unlike platform.python_version() , sys.platform has no brackets, because it's a value you read, not a function you call. The test shows the platform as <platform> .

    Write the code Easy 3 stages platform sys python version bug report