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
timofeeve [1]
2 years ago
11

Assignment 4 evens and odds

Computers and Technology
1 answer:
Viefleur [7K]2 years ago
4 0

I've added my own code in a picture below. I didnt really notice any error, which would cause problems in your code. The main issues I had with your code is purely readability. You should start using the format function along with the curly brackets to concatenate variables into strings. You should also start doing even += 1 instead of even = even + 1. I also tweaked your range function. Simply putting n makes it much easier to read and understand.

You might be interested in
Domain of (x+8)/(x(x+10))
UkoKoshka [18]
The domain of this, assuming it's a function, is all real numbers such that x does not equal zero or negative ten.

In interval notation, this is (-∞, -10) U (-10, 0) U (0, <span>∞).

In set builder notation, this is {x | x </span>≠ -10, x <span>≠ 0}.

These inputs are excluded from the domain because they would otherwise allow division by zero. Try plugging in one of the restricted inputs. You'll see that it does not work! On a graph of this </span>function, you will see vertical asymptotes. 

5 0
3 years ago
Type the correct answer in the box. Use numerals instead of words. If necessary, use / for the fraction bar.
andriy [413]

Binary values are used to denote the 'ON' and 'OFF' state of a computer. The 'ON' state is denoted by the binary value '1'

  • The 'ON' state of a computer represents the mode when the computer system is running and can be used to perform computing operations.

  • The binary values '0' and '1' are used to designate the ON and OFF state.

  • When the computer is ON, it is designated by the binary value 1 ; while the OFF state is designated by the binary value 0.

Therefore, the number which signifies the ON state of a computer is 1.

Learn more :brainly.com/question/4722254

4 0
2 years ago
_____ refer(s) to computer programs that provide instructions for a computer to execute a desired task. Answer .a.Software .b. I
Dmitriy789 [7]
Software, which contains coded information that is almost like instructions for your computer.
8 0
3 years ago
Son opciones de configuración espacio multimedia llamado blog
Softa [21]

NSaAnswer:

th

Explanation:

nks

6 0
3 years ago
as measuring the current, the shunt resistance of a galvanometer is needed to be zero. so why don't we put a wire parallel to th
Mariulka [41]

Galvanometer is a device used to detect an electric current.

<u>Explanation:</u>

A galvanometer is an electro mechanical instrument utilized for distinguishing and demonstrating an electric flow. A galvanometer fills in as an actuator, by creating a revolving redirection, in light of electric flow moving through a loop in a consistent attractive field.

Galvanometer is a gadget which is utilized to quantify electric flows. Note that the shunt obstruction must be low with the goal that greatest current goes through the shunt. Thus galvanometer can be utilized to gauge high flows.

7 0
3 years ago
Other questions:
  • Informs the network interface card to pass packets sent to that address to the ip stack so their contents can be read, and tells
    9·1 answer
  • Which is an example of an input device?
    15·2 answers
  • (Please answer! Correct answer gets brainliest!)
    5·2 answers
  • When computing the cost of the basket of goods and services purchased by a typical consumer, which of the following changes from
    11·1 answer
  • 7.) Title text boxes on every slide must be the same format. <br> A. True <br> B. False
    15·2 answers
  • How is internet connection made possible.​
    7·1 answer
  • Please can someone solve this question<br>What is a software and types of software​
    11·1 answer
  • The iso 14001:2004 standards require documentation of a firm's environmental program. Which component requires a plan to improve
    15·1 answer
  • 30 POINTS FOR THE CORRECT ANSWERS
    12·1 answer
  • Const x = 0;
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!