📜  获得5个python代码示例的倍数

📅  最后修改于: 2022-03-11 14:45:39.322000             🧑  作者: Mango

代码示例1
def isMultipleof5(n):

    while ( n > 0 ):
        n = n - 5

    if ( n == 0 ):
        return 1

    return 0