0
What is the wrong I am doing in below code. I am trying to print a list within range of x and which are multiples of 3 and 5
x = int(input()) #your code goes here num = [i for i in range(x) if x%15==0] print (num) In output I am getting null list like below []
2 Réponses
0
Yeah I got it now. Thanks guys