這題我是用round()函數去寫,但是這個函數印- python. ... num1 = (num//10)*10 要用無條件捨去的話import math num1 = (math.floor(num/10))*10.
確定! 回上一頁