python 輸入 一個整數,判斷其是否既是3的倍數,又是5的倍數 ... v = int(input('請輸入一個整數:')) if v % 3 == 0 and v % 5 ==0: print(v,'即是3的倍數又是5的 ...
確定! 回上一頁