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
When you reboot your system, the computer follows startup instructions stored in this type of memory?
hram777 [196]
I think the word ur looking for is hard drive memory
3 0
3 years ago
Read 2 more answers
Data redundancy should be avoided because it wastes storage space and might cause inconsistencies within the database. _________
Ivanshal [37]

The answer is true. Data redundancies should be avoided, because redundancy of information or encoded data, may cause inconsistencies within the database itself and the system and also redundant information can consume a lot of storage space and will just waste it, which is why it is important to avoid data redundancy.

5 0
3 years ago
Discuss some designs using columns, gutters, text alignment, graphics, etc.
Naily [24]

Answer:

.......

Explanation:

8 0
3 years ago
Write a function sum them() that sums a set of integers, each of which is the square or cube of a provided integer. Specifically
dusya [7]

Answer:

# sum_them function is defined

def sum_them():

   # A sample of a given list is used

   given_list = [1, 2, 3, 4, 5, 6, 6, 9, 10]

   # The total sum of the element is initialized to 0

   total = 0

   # for-loop to goes through the list

   for element in given_list:

       # if the index of element is even

       # element to power 2 is added to total

       if(given_list.index(element) % 2 == 0):

           total += (element ** 2)

       else:

       # else if index of element is odd

       # element to power 3 is added to total

           total += (element ** 3)

   # The total sum of the element is displayed

   print("The total is: ", total)        

           

# The function is called to display the sum

sum_them()            

Explanation:

The function is written in Python and it is well commented.

Image of sample list used is attached.

3 0
3 years ago
What is a type of application that allows users to interact with certain stimuli by projecting a realistic graphical representat
Fittoniya [83]

Answer:

The application that allows users to do what is stated in the question is known as "Visual Simulation"

Explanation:

Visual simulation otherwise referred to as computer simulation projects a realistic graphical representation as it interacts with a particular stimuli. A very clear example is the popular flight simulator. It can be also used in the medical field and in business.

Going further, visual simulation has been expanded to virtual reality devices that are being used in many ways. Even though, the use of virtual reality devices for visual simulations is on the increase, many people still relate to visual simulation through games. These games project a two-dimensional image to look like a three-dimensional image using advanced graphics.

Individuals who work on visual simulation have some form of degree in engineering precisely, computer engineering. This is because it projects the basics in programming and engineering.

3 0
4 years ago
Other questions:
  • A(n) _______________ supplies one of the most critical aspects of docking stations, but in a smaller, more portable format: supp
    15·1 answer
  • If a wire has insulation that allows it to operate in a temperature of up to 194 degrees Fahrenheit, what temperature will the w
    13·1 answer
  • Which cell address indicates the intersection of the first row and the first column in worksheet?
    12·2 answers
  • Give two differences between EIRGP and RIP.
    14·1 answer
  • If you want three vertical sections of text on your page, create _____. dividers columns page breaks bulleted lists
    7·2 answers
  • What the best option if you cant show your PowerPoint presentation at all
    6·2 answers
  • When max() function is used on lists of words, what does max() find? For example:
    13·1 answer
  • Read the integer numbers in the text file "1000 Random Number from 0 to 100.txt" into a list
    6·1 answer
  • Which components are involved with input? Output? Processing? Storage?
    15·2 answers
  • How are the four characteristics of the db approach related to the four functions of a dbms?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!