q, r = divmod(t1, t2). Computes the quotient and the remainder: q = t1 // t2 (3) and r = t1 % t2 . q is an integer and r is a timedelta object.
確定! 回上一頁