No products in the cart.

Write a python program to create …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a python program to create a tuple with numeric value and find the sum of all elements which are divisible by 5 of that tuple
  • 1 answers

Ankit Ydv 3 years, 10 months ago

a=(23,15,75,37,30,24) print (list(a)) b=[ ] for i in range(a): if a[i]%5==0 c=a[i] b.append(c) print (b) print(sum(b))
http://mycbseguide.com/examin8/

Related Questions

Write a program for swapping two numbers?
  • 0 answers
Define packages
  • 0 answers
What is alu
  • 1 answers
Write a program for swapping two numbers
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App