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
Rom4ik [11]
3 years ago
9

Write a python program that should determine from the range you choose to enter :

Computers and Technology
1 answer:
aleksley [76]3 years ago
7 0

Answer:

I'm not fully sure if this will work, however, I'm 92% sure it is correct.

Explanation:

startingrange = int(input("Enter a number for the starting of the range: "))

endingrange = int(input("Enter a number for the ending of the range: "))

divisiblebythree = 0

divisiblebyfive = 0

even = 0

odd = 0

for i in range(startingrange, endingrange):

   if (i % 2) == 0:

       even += 1

   elif (i % 2) != 0:

       odd += 1

   if (i % 3) == 0:

       divisiblebythree+=1

   if (i%5) == 0:

       divisiblebyfive+=1

print("Numbers divisible by 5:",divisiblebyfive)

print("Numbers divisible by 3:",divisiblebythree)

print("Odd numbers:",odd)

print("Even numbers:",even)

You might be interested in
True or False: It is illegal to park in a location that you block or create a hazard for other vehicles.
Feliz [49]
The answer to question is true
5 0
3 years ago
Read 2 more answers
Pls awnser I will mark brainliest as soon as possible
german
What are the multiple choice answers?
6 0
2 years ago
Read 2 more answers
________ is the process of translating a task into a series of commands that a computer will use to perform the task.
IgorC [24]
Programming 
It can also be described as Reverse Engineering 
7 0
3 years ago
In an ipv4 address, what are the maximum number of bits that can be used to identify the network address
Solnce55 [7]
Up to 24 bits can be used to identify unique <span>networks.</span>
5 0
3 years ago
What is the interface in Java programming Language? Why do we need to use it?
Alenkasestr [34]

To accustom to several different language-speaking countries. One program is often used internationally so having a language setup is very important.

6 0
3 years ago
Other questions:
  • The tone a writer takes is referred to as the writing _____.
    7·2 answers
  • sharon gives a thumbs-up to her little brother who has just scored in his schools basketball game. sharon is communicating by us
    5·2 answers
  • In your opinion is it more beneficial to have many folders or is it better to nest subfolders
    12·1 answer
  • Research the topic of legal and ethical behaviors or dilemmas related to technology. Identify five topics of concern and briefly
    9·1 answer
  • Who can search the internet and select element base on important words
    13·1 answer
  • Alison is having a hard time at work because her Inbox is flooded with emails every day. Some of these emails are unsolicited. S
    15·2 answers
  • Coral Given three floating-point numbers x, y, and z, output x to the power of y, x to the power of (y to the power of z), the a
    6·1 answer
  • A computer reads a sequence from top to bottom and left to right.
    13·1 answer
  • Microsoft Access is a
    10·1 answer
  • Which tab do you open to access the Comments feature?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!