Hacker News new | ask | show | jobs
by dotandimet 5901 days ago
The first example print statements in Zed's book have backticks (`foo`). I don't know Python, but I'm guessing those should be single ticks ('foo')?
1 comments

Not in the rendering I see.

But backticks are valid python syntax, but relatively unused, these days. The contents of backticks are evaluated, and the result is returned as a string representation.

  >>> `1+1`
  '2'