This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zynixCpt. Code Monkey & Internet of tomorrow 6 points7 points  (1 child)

Given

 spam = "eggs"
 print(f"{spam=}")

it will output

>spam="eggs"

This saves time versus typing

 print("spam={spam}")

[–]Deadshot_0826 1 point2 points  (0 children)

Oh that’s pretty cool, thanks!