(number)
return result
Converts a number to a string according to the raindrop sounds.
Converts a number to a string according to the raindrop sounds.
Converts a number to a string according to the raindrop sounds .
def convert(number):
    """
    Converts a number to a string according to the raindrop sounds.
    """

    result = ''
    if number % 3 == 0:
        result += 'Pling'
    if number % 5 == 0:
        result += 'Plang'
    if number % 7 == 0:
        result += 'Plong'

    if not result:
        result = str(number)
    return result
def convert ( number ) : result = '' if number % 3 == 0 : result += 'Pling' if number % 5 == 0 : result += 'Plang' if number % 7 == 0 : result += 'Plong' if not result : result = str ( number ) return result