Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
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 []
1 Réponse
0
Yeah I got it now. Thanks guys