thanks for your reply. I upload my code on the colab,this is the link :https://colab.research.google.com/drive/1S4Y01Pr64R8uQi6cdNx53BzVx9iROZEH?usp=sharing  and I have gave the edit permissions
It might be a little chaos cause I wrote it just for a test.Thank you very much for answering my question.