In Python, you can calculate the quotient with // and the remainder with % . q = 10 // 3 mod = 10 % 3 print(q, mod) # 3 1.
確定! 回上一頁