Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is a python code no defs, just while loops and for loops Question 8 (10 points) Given a list of positive integers, write a

this is a python code image text in transcribed
no defs, just while loops and for loops
Question 8 (10 points) Given a list of positive integers, write a Python program to display each integer in the list that is evenly divisible by both 3 and 4. Also, print how many of those integers were found. Sample input/output: Enter a positive integer (e or negative to end): -12 Number of integers evenly divisible by 3 and 4: @ Sample input/output: Enter a positive integer (@or negative to end): 3 Enter a positive integer (e or negative to end): 12 12 is evenly divisible by 3 and 4. Enter a positive integer (e or negative to end): 4 Enter a positive integer (e or negative to end): 24 24 is evenly divisible by 3 and 4. Enter a positive integer (@or negative to end) : 18 Enter a positive integer (e or negative to end): Number of integer's evenly divisible by 3 and 4: 2 marbles.py

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

2. Define the grand narrative.

Answered: 1 week ago

Question

Q.No.1 Explain Large scale map ? Q.No.2 Explain small scale map ?

Answered: 1 week ago

Question

4. What actions should Bouleau & Huntley take now?

Answered: 1 week ago