▲ 0 ▼ c/python@lemmy.ml · Barbarian@sh.itjust.works · 13 Jun 2023 18:38 This is valid Python syntax #python Bite Code! This is valid Python syntax f"{0xBE_AF:.2f}" is what happens if you use "_" in hex, and interpolate it with a 2 decimal precision. www.bitecode.dev check post at origin cross-posted from: programming.dev/post/21515 Some surprising, but valid, python syntax examples.
0 comments
log in to comment.