Results for “power”

Showing 1–10 of 17

  1. Article Python Fundamentals

    Numbers and Basic Math Operations in Python

    …most reliable tool. Python, with its intuitive syntax and powerful numerical capabilities, has become the preferred programming language for space agencies and astronomers worldwide. In this article…

  2. Challenge

    Log analyser

    …they raised, numbered from 1: Warnings by subsystem: 1. POWER: 3 2. GNC: 2 3. COMMS: 1 enumerate(warnings.most_common(), start=1) gives the rank and each (subsystem, count) pair; unpack them as rank…

    Write the code Hard 3 stages project logs parsing Counter
  3. Challenge

    Duplicate events

    …EV-1003 Abort system armed EV-1004 Switched to internal power Duplicates dropped: 2 Keep the IDs you have already printed in a set: start with seen = set() , skip an event whose ID is in seen , and…

    Write the code Medium 2 stages sets add in deduplication
  4. Challenge

    Numbered checklist

    …pressure 3. Arm the abort system 4. Switch to internal power 5. Get a go from Mission Control enumerate(checklist, start=1) gives pairs of a number and an item. Unpack them in the loop: for number…

    Write the code Easy 2 stages for loop enumerate start lists
  5. Article Mini projects

    Calculating Escape Velocity in Python

    …this speed for any celestial body using NumPy - Python's powerful library for scientific computing. Why NumPy Instead of Regular Python? While Python's built-in math functions work fine for simple…

  6. Challenge

    Manifest validator

    Write problems(item), which lists everything wrong with one cargo item: missing fields, a mass that isn't a number, is 0 or is over the limit. Print a pass or fail line per item, then catch duplicate…

    Write the code Medium 2 stages project validation dictionaries functions