i'm having problems adding these 3 conditions in a while loop, where is the error?
n = eval(input("Number: "))i = 0while (i % 3 == 0) and (i % 5 == 0) and (i < n): print(i, end=" ") i = i + 1
I want it to print the numbers divisible by 3 and 5 as long as i < n.If i type in 100 it gives back 0 right now.