Python Lesson 10, Functions, Run button on loop

When I type the command
from math import *
and I press run, it would been in a loop forever. Can anyone help me?