組み込み関数 divmod() 使い方 tuple = divmod(a,b) aをbで割った商とあまりをタプルで返します tuple = divmod(7,2) print(tuple) #結果 (3,1) 7 ÷ 2= 3…1 a,bと... 組み込み関数