mirror of
https://github.com/Xevion/exercism.git
synced 2025-12-08 02:07:08 -06:00
'init'
This commit is contained in:
2
python/raindrops/raindrops.py
Normal file
2
python/raindrops/raindrops.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def convert(n):
|
||||
return ''.join(['Pling' if n % 3 == 0 else '', 'Plang' if n % 5 == 0 else '', 'Plong' if n % 7 == 0 else '']) or str(n)
|
||||
Reference in New Issue
Block a user