Challenge
Missing field
…the keys with in, fix it with get() and a default, then print a list of launches with defaults for any missing field.
Showing 11–20 of 150
Challenge
…the keys with in, fix it with get() and a default, then print a list of launches with defaults for any missing field.
Challenge
…out the valid indexes with len(), fix it with [-1], then print the first, middle and last readings for any length.
Challenge
…start, stop and status in any case with an if/elif chain, print Unknown command for anything else, then handle empty input and show what was typed.
Challenge
…Ask Python for it with the platform and sys modules and print it the way python --version does.
Challenge
Print each capsule event once, keeping the first copy, by checking every ID against a set of IDs already seen, then report which IDs came in more than once.
Challenge
…stored as a list of strings with a loop inside a loop, print the row and column of every # with enumerate(), then turn the loops around to find the columns that are clear all the way through.
Challenge
…line" to read three readings from a multi-line feed, print each as one row, then turn them into a report with a header and aligned columns.
Challenge
…into its four fields with split(), print each with a label, then turn the value into a number and convert it to kelvin.
Challenge
Print an alert between two 30-character borders from a single f-string with \n, then add more lines and centre the title in the border.
Challenge
…the launches still to come, sort them by their window and print a digest line for each with the time left and any hold, then switch the digest to the live clock.