Results for “sum”

Showing 11–16 of 16

  1. Challenge

    input() returns text

    …+ "1" gives when you type 4, and store it as text in text_sum . Run print(crew + "1") to check, and remove that line before you check. Modify. Fix the program with int() , so that for 4 it prints…

    Fix the code Easy 3 stages input int TypeError type conversion
  2. Challenge

    Edge cases

    The summary on the engine dashboard uses a small mean() function. It works on the usual lists. Nobody has tried it on an empty pass, a pass with one reading, or the cryogenic sensors, whose readings…

    Write the code Medium 2 stages testing assert edge cases None
  3. Challenge

    Mission config

    …variable holding the text "Esrange" and put it into the summary, so the program prints: Perseid: crew 4, fuel 12.5 t, from Esrange, dry run True Make: Rover config Now write a config yourself. Store…

    Write the code Easy 3 stages variables data types int float
  4. Challenge

    Undo and history

    Extend the working cargo console: record every change to the hold in a history list and show it with a history command, then add undo, which takes the last change off the history and reverses it.

    Write the code Hard 2 stages project lists stack append