1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
juin [17]
2 years ago
6

Write a program that has two variables, start and end which represent beginning and end of segment, including start and end, whi

ch calculates all elements from that segment that are divisible by 3 but not by 6.
Can someone help me with this?
​
Computers and Technology
1 answer:
mr_godi [17]2 years ago
4 0

The program illustrates the concepts of loops and conditional statements.

<h3>The complete program</h3>

The program written in Python, where comments are used to explain each line is as follows:

start = int(input())

end = int(input())

for i in range(start, end+1):

    if i%3 == 0 and i % 6 !=0:

         print(i,end = " ")

Read more about python programs at:

brainly.com/question/13246781

#SPJ1

You might be interested in
Why would a team choose to employ a zone defense over a person to person defense?
vova2212 [387]

Answer/Explanation:

Zone defense is chosen if MULTIPLE people are attacking one spot that's why they would choose zone defense.

Person to person defense is when 1 person is attacking one spot so somebodies sent out to defend it.

<u><em>~ LadyBrain</em></u>

7 0
3 years ago
For security reasons a network administrator needs to ensure that local computers cannot ping each other. which settings can acc
liq [111]
<span>The administrator of the network can access the admin settings on the network's primary DNS servers. From there, there are hundreds of various settings and changes to make. There is one, however, that is able to disable pings. This will prevent computers from responding to ping requests. This can help to ensure internal security and reduce internal network traffic.</span>
6 0
3 years ago
A program reads three integer values. The three values are interpreted as representing the lengths of the sides of a triangle. T
Andru [333]

Answer:

5

Explanation:

5 0
4 years ago
Hey I just got home I got a call back on and my car was in my bed I got a text and I didn’t get my text back from the house I wa
Phantasy [73]
Y’all what are you tryna say
6 0
4 years ago
Compared with non-Internet users, today's online social networkers are likely to experience ________ relationships with their ex
Digiron [165]

Answer: Strengthened, less

Explanation:

With people spending more time on internet their relationships with existing friends have decreased due to lot of contents available on the internet. They might be friends with people miles away but they might not know their next door neighbor. As the content over the internet increases day by the day this trend shall keep on rising.

8 0
4 years ago
Other questions:
  • A financial consulting firm recently recovered from some damaging incidents that were associated with malware installed via root
    6·1 answer
  • 1.
    6·1 answer
  • 1. Write a program that grades arithmetic quizzes as follows: (4 points) a. Assume there are 23 questions in the quiz. b. Ask th
    10·1 answer
  • How do you make Thumbnails and outros on Youtube for free?
    8·1 answer
  • What is the difference between a key and a superkey?
    10·1 answer
  • In case of an emergency, once you or someone already on the scene has contacted 9-1-1, the next thing to do is: A) Move them to
    9·2 answers
  • Study the following two class interfaces: class Question { public: Question(); void set_text(string new_text); void set_answer(s
    11·1 answer
  • An alarm clock draws 0.5 A of current when connected to a 120 volt circuit. Calculate its resistance.
    10·1 answer
  • Write an essay about yourself based on the dimensions of ones personality​
    9·1 answer
  • Write the line of code to calculate the area of a circle with radius 3 and store it in a variable called
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!