diff --git a/TrueBooj.py b/TrueBooj.py index 4b558b4..e57bec0 100644 --- a/TrueBooj.py +++ b/TrueBooj.py @@ -1,2 +1,14 @@ def truebooj(number): - # do code here + for num in range(1, number): + output = [] + if num % 3 == 0: + output.append('True') + if num % 5 == 0: + output.append('Booj') + if num % 10 == 0: + output.append('TrueBooj') + + if output: + print(' '.join(output)) + else: + print(num)