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!!!!

4/11/2021 4:50:56 AM

Alvin Nguyen8 Answers

New Answerthank you so much for the help guys. Its was confusing but just adding a 1 helped XD

https://code.sololearn.com/c3G7jKy33iEk/?ref=app https://code.sololearn.com/WJfq7ceju1YW/?ref=app

Hot Today

I am learning python and I have to solve this problem... Please help me
Hi , everyone there is a thing that I do not understand .
HELP how can i open and read from files on android
HELP WITH HTML DRAWER MENU
Can somebody help me to show two different things for two different cities?
A lot of cell phones have tip calculators. Write one. Ask the user for the price of the meal and the percent tip they want to le
Someone help me to complete my code
what is the difference between the following statements
How to print perfect triangle of numbers 1 to 100 ?
How to connect sql with python

Sololearn Inc.

535 Mission Street, Suite 1591San Francisco, CA 94105

© 2022 Sololearn, Inc.

Send us a message