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 []

20th Aug 2020, 11:16 AM
Gubbala Saisree
Gubbala Saisree - avatar
1 Respuesta
0
Yeah I got it now. Thanks guys
20th Aug 2020, 1:05 PM
Gubbala Saisree
Gubbala Saisree - avatar