Update youdao.py

change the code,easier to use and understand.