Tu programa tiene una sola línea: print(math.sqrt(81)). En ningún lugar escribiste import math.

¿Qué pasa al correrlo?