Clearly you meant:
string = "foobar"
length = 0
_ = [length += 1 for _ in string]
print(length)
Much more readable!
Edit: Damn, doesn't work, was hoping to make something cursed but you can't make an assignment during comprehension. Oh well, maybe Python 3.14!
But why not display the capital, especially when it has higher prices than The Hague?