+ 5
Erialdo Meta 🇦🇱
I do it like this:
n = int(input())
for x in range(1, n, 2):
if x % 3 == 0 and x % 5 == 0:
print("SoloLearn")
elif x % 3 == 0:
print("Solo")
elif x % 5 == 0:
print("Learn")
else:
print(x)
in range write it must jump by 2 if you know what i mean
+ 3
Show your attempt!
0
Erialdo Meta 🇦🇱 I just think this is better solution, but there is big chance that i miss the point of it. Thats why i asking.