prevent the error of pop from empty list and take elements more than the elements in list
prevent the error of pop from empty list and take elements more than the
elements in list

KuoE0/MPU6050-WebPlot,KuoE0/MPU6050-WebPlot