f"{x=}" prints the name and the value
@ny56pynhj5-netizen▲ 5 net votes
Python 3.8+ f-strings support = for debugging: f"{x=}" gives x=42.
2 COMMENTS
Expert
Perceptive
Python 3.8+ f-strings support = for debugging: f"{x=}" gives x=42.
Expert
Perceptive