Python -Druckwert und variabler Name
#!/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