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
A file with a .bat file extension is called a batch file. You can use a batch file to execute a group of commands, sometimes cal
Elan Coil [88]

Answer:

Create a text file. And add this code in it:

@echo off

You are welcome to the batch programming!

And now save it with .bat file type. Give it any name you want.

And to run the bat file, double click the bat file. It will be running.

You can run it from command prompt as well. Type as below:

C:\folder\batch_name.bat.

Now, we can add as many commands in the file as we want, and we can do the batch programming.

Explanation:

Please check the answer section.

8 0
3 years ago
What is the purpose of reading in typography
IgorLugansk [536]

Answer:

The main purpose of typography is to make life easier for your readership by making it easier to read what you've written: It makes it possible to to quickly scan your text. It entices your readers to engage with your text. When done well, it enhances the message it presents

4 0
3 years ago
You have opened the properties dialog box for an installed printer on your computer system. on what tab will you find informatio
ollegr [7]
You can find it on the general tab.
4 0
3 years ago
One of the factors that influence the effectiveness of chemical sanitizer works effectively between 13° C and 49° C​
12345 [234]

Answer:

temperature

Explanation:

Temperature is one of the three factors known to have remarkable influence on the effectiveness of chemical sanitizers. These sanitizers generally perform best at temperature range of 13 – 49 degrees centigrade.  

Also, contact time is one of the factors that is needed for the sanitizers to effectively kill the microorganisms. The item to be cleaned should come in contact with the chemical for the recommended period of time.

3 0
3 years ago
You can't cite Wikipedia, what are three ways that you can use it for your research?
Vlada [557]

Answer:

Scan over the article for references/resources, find general information about your topic, find keywords and terms you can use for further searching.

Explanation:

8 0
3 years ago
Other questions:
  • Jane is designing a print brochure for a retail company. She’s having trouble deciding on the page margin. Which best practice w
    13·2 answers
  • John wants to access specific programs from the Start menu in his laptop. However, he is unable to view them when he clicks the
    14·2 answers
  • When u look at a green object through red glass the object will appear
    11·2 answers
  • Name the main technology used to connect computers to devices
    6·1 answer
  • How to divert all calls & sms from other phone to my phone? is it possible?
    14·1 answer
  • . What is the output of this code sequence?
    8·1 answer
  • Write a program that prompts the user to enter a number then counts the number of odd numbers and even numbers the user enter. T
    15·1 answer
  • What are the steps involed in accepting all the changes in a document?
    8·1 answer
  • Write a function called printRange() that accepts two integers as arguments and prints the sequence of numbers between the two a
    10·1 answer
  • A data analyst uses _____ to decide which data is relevant to their analysis and which data types and variables are appropriate
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!