Results for “lower”

Showing 11–20 of 24

  1. Article Mini projects

    Calculating Escape Velocity in Python

    …= calculate_escape_velocity(5.972e24, 6.371e6) if name.lower() != "earth": ratio = v_escape / earth_v print(f"\nCompared to Earth: {ratio:.2f}x") def main(): """Main program loop.""" print("Welcome to…

  2. Challenge

    Readings summary

    …team gets a summary of the temperature readings: the lowest, the highest and the average. Nobody reads five hundred numbers; everybody reads the summary. Summarise the readings with Python's built-in…

    Write the code Easy 2 stages lists min max sum
  3. Challenge

    Telemetry pipeline

    A small but complete data pipeline: read the telemetry CSV, reject rows with unknown sensors or broken values and say why, flag readings outside each sensor's limits, and save a JSON summary for the…

    Write the code Hard 3 stages project csv json files
  4. Article Python Fundamentals

    Python Functions for Beginners

    …is the name. The rules are the same as for variable names: lowercase letters, words joined with underscores, no spaces, and it can't start with a number. The parentheses () are where inputs will go…

  5. Challenge

    Flight software review

    A 40-line pre-burn check has five bugs: a syntax error, a type error, a wrong key, an index out of range and a reversed decision. Read each error to fix the four that crash, then find the one that…

    Fix the code Hard 2 stages project debugging SyntaxError TypeError
  6. Challenge

    Ground station pick

    …the bands from east to west, so each elif only needs its lower limit, and store the name in station before printing it. From 0 to 360 Some tools write longitudes from 0 to 360 instead of from -180 to…

    Write the code Easy 2 stages if elif else ranges
  7. Challenge

    Upload router

    …of the name: one stripped for showing, one stripped and lower-case for checking.

    Write the code Easy 2 stages if elif else or