Reuven M. Lerner @lernerpython.com · 19d

Old #Python: print("count:", count) New Python: print(f"{count=}") The = inside an f-string (3.8) prints both the name and the value: count=42. Built for debugging, and it saves typing.

2 likes 0 replies

?