#I am learning Python now ,I have some experience about C#,VB,C.
#The scripture is very easy but I just dont know what's wrong
#So What should I do?Please tell thanks.
#The scripture is very easy but I just dont know what's wrong
def eval_loop():
while True:
x = input('> ')
if x== 'done':
break
result = eval(x)
print (result)
eval_loop#OK that's all code,the problem is it doesnt work, but when I delete def eval_loop(): and eval_loop then it can work.when I use debuging what ever i press F5,F6,F7(IDE Eclipse Version: Oxygen.2 Release (4.7.2)),the weird thing happen,I set break point on the line of def eval_loop():and while True: but the debuging just stop at def line dont stop at after lines until eval_loop.#So What should I do?Please tell thanks.
