Index & Slicing python data science course practice
Multiples of 3 & 5 You are given a task to find all of the whole numbers below 100 that are multiples of both 3 and 5. Create an array of numbers below 100 that are multiples of both 3 and 5, and output it. Here is my code import numpy as np x = np.arange(100) nums = x[(x%3==0) & (x%5==0)] for num in nums: print(num) The output is 0 15 30 45 60 75 90 But they still says that I am wrong. Please help!!!!