2022/04/06
That python f-strings can do
- date and time formatting:
f"{today:%Y-%m-%d}" - have a variable-debugging format:
f"{x = }, {y = }" - can use
__repr__rather than__str__:f"{user!r}" - can be nested:
f"output: {value:{width}.{precision}}"https://martinheinz.dev/blog/70
Of the window.prompt() method:
https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt