I know that in python 3.x I can use Non-ASCII identifiers (PEP 3131).
x1 = 2 x2 = 4 Δx = x2 - x1 print(Δx)
Is there such feature in python
Well, I mean, technically this is what you asked for:
>>> x1 = 2 >>> x2 = 4 >>> locals()[u'Δx'] = x2 - x1 >>> print locals()[u'Δx'] 2