Challenge
Environment check
…Ask Python for it with the platform and sys modules and print it the way python --version does.
Showing 21–30 of 237
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.
Challenge
…and count them, then let one try cover short lines too and print each error.
Challenge
Print the name, provider and status of a launch from a dict shaped like a launch-API response, then list every field the response has with items(), the way you'd inspect an API you haven't used…
Challenge
Print the commander, the newest member and the crew size from a list with [0], [-1] and len(), then add the second in command and the whole roster joined into one line.