Valeur d'impression Python et nom de variable
#!/usr/bin/env python3
foo = 1
bar = 2
print(f"{foo=} {bar=}")
Bewildered Buzzard
#!/usr/bin/env python3
foo = 1
bar = 2
print(f"{foo=} {bar=}")
>>> first = 'John'
>>> last = 'Doe'
>>> print '%(first)s %(last)s' % globals()
John Doe