Is there a way to associate the character '√' to actually perform the sqrt() function in python?
from math import sqrt
print sqrt(9)
>>> 3.0
print √9
>>> 3.0
asked Jul 27, 2014 at 15:40
will.fiset
1,5821 gold badge21 silver badges29 bronze badges
lang-py
R,Mathematicaetc. Probably because these symbols have to be typed from an image based keyboard. Then that will be like operating a calculator. Standard keyboards are better to do this job. :) Just writesqrt(9). Why go into unnecessary symbol fuss?! Perhaps in future, when symbolic keyboards or touch screen keyboard will invade programming space, we will think about it.