elements divisible by 5 in list
Python
num = [3, 5, 7, 9, 23, 15]
for i in num:
if i%5 == 0:
print(i, end = " ")
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.