Uzyskaj zmienną nazwę Python
# Equalize your varaible name to dict()
VariableName =dict()
# split as follow
print(f'{VariableName=}'.split('=')[0])
Gabriel Juri
# Equalize your varaible name to dict()
VariableName =dict()
# split as follow
print(f'{VariableName=}'.split('=')[0])
>>> first = 'John'
>>> last = 'Doe'
>>> print '%(first)s %(last)s' % globals()
John Doe