My python codes for time pass