+ 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
15th Oct 2020, 8:01 PM
Kryštof
+ 3
Show your attempt!
15th Oct 2020, 2:45 PM
Simba
Simba - avatar
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.
15th Oct 2020, 8:22 PM
Kryštof