Results for “version”

Showing 11–20 of 20

  1. Challenge

    Prove the fix

    …function as it is. The hidden tests swap it for the old version with log=[] , and your checks must stop that one. Don't break what worked A fix can go too far. Add checks that a log passed in still…

    Write the code Medium 2 stages testing assert regression tests default values
  2. Challenge

    Sorted copy

    …sorted(signups, key=str.lower) compares the lower-case version of each name but keeps the names as they are.

    Write the code Easy 2 stages lists sorted sort key
  3. Challenge

    Flatten nested ifs

    …not change: Docking: GO Whatever the readings are, your version has to print exactly what the nested one would. Say what failed The crew wants to know why docking is on hold. Rewrite the check as one…

    Fix the code Medium 2 stages if elif and nested conditions
  4. Challenge

    Validate a command

    …Keep the typed text in one variable and the lower-case version in another. Check for empty text first. For Launch , the second line is printed.

    Write the code Easy 2 stages if elif else input
  5. Challenge

    Accept the right files

    …the right file. Clean the path first, then check the clean version: In telemetry/: True CSV file: True Remove the spaces, turn backslashes into forward slashes and make it lower case. Inside quotes, a…

    Write the code Easy 2 stages strings startswith endswith paths
  6. Challenge

    Redact the access code

    …ground station goes into the security log, and the first version of the logger wrote the full access code into it. Anyone who could read the log could log in. Mask the code so only its last four…

    Write the code Medium 2 stages strings slicing len replace
  7. Article Python Fundamentals

    Nested Loops in Python

    …in a week, you'll instantly understand what the second version does. In the Mars examples, we use names like x_position , y_position , scan_x , rover_id - anything that helps understand the code…

  8. Article Python Fundamentals

    A Practical Guide to Getting Started with Programming

    …from python.org (click 'Downloads' and get the latest version) PyCharm from jetbrains.com/pycharm/download That's it. Don't install anything else yet - it will only confuse you. You can also read our…

  9. Article Mini projects

    Converting Temperatures in Python

    …temperatures. In the code tab, you can download the full version of the script. As an additional exercise, you can write functions that convert temperatures from Kelvin to degrees Fahrenheit and…

  10. Challenge

    Upload router

    …own capitals: CAM-2_2026-03-14.JPEG -> images/ Keep two versions of the name: one stripped for showing, one stripped and lower-case for checking.

    Write the code Easy 2 stages if elif else or