Y
Hacker News
new
|
ask
|
show
|
jobs
by
Hamuko
306 days ago
You don't really need to use any of these. Really the most useful one is f"{var=}" for us print() debuggers. But f"{var:#x}" is the same as f"{hex(var)}", so feel free to pick whatever you prefer.