Other examples in the tutorial use single curly braces.
I feel confused even after reading the explanation saying that "Braces need to be escaped within a Python string, and we do this by using double quotes."
How do we know whether it is a Python string or not? Since almost all the commands in this tutorial is run by python like the one below.
I think this can get confusing because braces are needed for Cypher, but they also have special meaning inside of a python multi-line string. The double-brace example you gave doesn't look correct to my eye. The specifics depend on what you're trying to do and which tutorial being followed.