Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The Answer


answer: str = 42

print(f"The answer is {answer}.")

Why would anyone write such obviously incorrect code?