This commit is contained in:
Xevion
2019-07-13 04:16:23 -05:00
parent f10c9ee99c
commit d558cf2d6c
15 changed files with 90 additions and 1 deletions

View 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)