Challenge
Alert banner
…borders from a single f-string with \n, then add more lines and centre the title in the border.
Showing 1–10 of 44
Challenge
…borders from a single f-string with \n, then add more lines and centre the title in the border.
Challenge
Make two prints share one line, like Uploading flight plan... done, by changing how print() ends. A Python challenge on print(end=...) for progress messages.
Challenge
…path prints wrong because \n and \t inside it turn into a new line and a tab. Fix it with a raw string, then handle a path that ends with a backslash.
Challenge
…into three named variables and print a cargo manifest line, then fix the ValueError when the manifest adds a fourth field.
Challenge
A real check is commented out and a debug line is left on. Use # comments to put the pre-flight checklist script back in order. A beginner Python challenge on comments.
Challenge
Count the entries and the WARN lines in a multi-line mission log with count(), fix the count when a message mentions WARN itself, then summarise the log by level.
Challenge
…the caller's stored readings change too. Predict the first line, prove both names share one list, fix it by returning a new list, then write a filter that leaves its input alone.
Challenge
…sensor sends ERR and float() stops the program. Skip lines that fail to convert and count them, then let one try cover short lines too and print each error.
Example
…characters like \n and \t allow formatting text with new lines and tabs.
Challenge
…an alert that come within 60 seconds of the first into one line with a count, in the order they first appeared, then add the time range and a summary.