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
Brut [27]
3 years ago
10

Write a program that prints the numbers 1 - 50. If the number is even print the word 'EVEN!' next to it. If the number is odd pr

int the word 'ODD!' next to it.
Computers and Technology
1 answer:
mamaluj [8]3 years ago
4 0

In python 3.8:

for x in range(1,51):

   print(str(x)+" EVEN!" if x %2==0 else str(x)+" ODD!")

This works for me. Best of luck.

You might be interested in
A 4-bit left shift register is initially in the 0000 state, with all the flip flops storing 0s. A group of bits 1011 is serially
frutty [35]

Answer:

0010

Explanation:

Serially left shifted means that the left most bit will enter the register first. The left most bit already stored in the register will move out of the sequence. The "bold" bits mentioned below highlight these left most bits:

Initial State of the Register:

0000

Group of bits entering:

1011

<u>First Clock Cycle:</u>

0000 <em>(This bold bit will move out)</em>

1011 <em>(This bold bit will move in from right side, shifting the whole sequence one place to the left).</em>

The resulting Sequence:

0001

<u>Second Clock Cycle:</u>

0001 <em>(This bold bit will move out)</em>

1011 <em>(This bold bit will move in from right side, shifting the whole sequence one place to the left).</em>

The resulting Sequence:

0010 <em>(Final Answer)</em>

6 0
4 years ago
The basic components of cartridges and shotshells are similar. Shot pellets and a bullet are examples of which basic component?
Liono4ka [1.6K]
The answer is projectile. Handguns and rifles use a cartridge having a single projectile or bullet. Shotguns use a shot shell comprising either a single bullet or a big number of small projectiles (shot or pellets). Though, the basic components of cartridges and shot shells are alike.
5 0
4 years ago
Digital manufacturing has impacted our world today! List a reasons why.
Maru [420]
Because we can get manufacturing faster than usual
6 0
4 years ago
Which part of project management involves determining the required materials?
Katyanochek1 [597]
Resources I think because what u have all depends on resources
5 0
3 years ago
Read 2 more answers
In a complex system, many subsystems interact with one another. How do these systems interact in terms of inputs and outputs?
Artemon [7]

Answer:

I think in there transmission you know inputs into ports like for their own

Explanation:

likeslike Spanish and is obviously inputs and outputs their portsinto the portsdifferent ports you know

4 0
3 years ago
Other questions:
  • There are ways to perform computer commands quickly and multiple times. <br> a. True <br> b. False
    11·2 answers
  • . Does Zuckerberg believe in the thought that “the endpoint is when you sell the
    15·1 answer
  • Why is plastic durable?
    9·2 answers
  • Help me I'm so confused by this question
    7·1 answer
  • The larger the Word Size of a computer
    6·1 answer
  • Pls Help need it before 1pm PLS.
    15·2 answers
  • Which one is the answer for the question.
    11·1 answer
  • Global address list characteristics
    11·1 answer
  • Choose all stages of the information processing cycle.
    12·2 answers
  • What is the answer???​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!