I've been checking it many times, so make a note
a% b: remainder a // b: quotient (truncated) math.ceil (a / b): Round up
reference: http://www.ican.zaq.ne.jp/rogmic/python_tips/floorCeil.html http://www.pythonweb.jp/tutorial/num/index2.html
Recommended Posts