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
gladu [14]
3 years ago
13

Write a program that reads in ten numbers from the user and displays the distinct numbers. If a number entered by the user appea

rs multiple times, your program needs to filter the repeated numbers and therefore displaying the repeated numbers only once. For example, if the user enters the number 1, 4, 6, 1, 8, 4, 2, 1, 3,9 then the output of your program should be: 1, 4, 6, 8, 2, 3, 9.
Computers and Technology
1 answer:
Jobisdone [24]3 years ago
7 0

Answer:

Here you go :)

Explanation:

Change this however you'd like:

array = []

for n in range(10):

   x = int(input("Enter integer: "))

   array.append(x)

dup = set(array)

print(", ".join(str(i) for i in dup))

You might be interested in
True / False<br> Registers are generally optimized for capacity instead of speed.
lbvjy [14]

Answer: False

Explanation:

Registers are not optimized for capacity they are for speed. Registers are small storage space which is used to hold the value required by the cpu for processing. For making the value available immediately to the processor we have registers. There are many different types of registers.

5 0
3 years ago
What is keyboard? answer me <br>​
Grace [21]

Answer:

something you put your fingers on

Explanation:

3 0
3 years ago
Read 2 more answers
What will be the value of “sumtotal” when this code is executed?
Lelu [443]

Answer:

2

Explanation:

if-else is the statement that is used for checking the condition and if the condition is True, then execute the statement otherwise not executed.

initially, the value of n1 = 3, n2 = 6, n3 = 2, sumtotal = 4.

after that, if statement checks for the condition.

3 != 4

condition is TRUE, then the statement sumtotal -= n3; will be executed.

write the statement in simple form:

sumtotal = sumtotal - n3;

so, sumtotal = 4-2 = 2.

after that, the program does not check the further and exit the if-else statement.

Therefore, the answer is 2.

4 0
3 years ago
___ are limited computers because they are placed inside devices which require specific computing functions
Pachacha [2.7K]

I guеss thе cοrrеct answеr is Еmbеddеd systеms  

An еmbеddеd systеm is a prοgrammеd cοntrοlling and οpеrating systеm with a dеdicatеd functiοn within a largеr mеchanical οr еlеctrical systеm, οftеn with rеal-timе cοmputing cοnstraints. It is еmbеddеd as part οf a cοmplеtе dеvicе οftеn including hardwarе and mеchanical parts.

3 0
3 years ago
Ethan wants to change the font in his document. He should _____.
Elena L [17]
The answer is : C. <span>highlight the text and select a new font</span>
7 0
3 years ago
Read 2 more answers
Other questions:
  • Identify the function for the following computer part: Printer Question 23 options: Input
    6·1 answer
  • Technology offers a variety of rich opportunities available to teachers and students. According to Inan and Lowther (2010), ther
    6·1 answer
  • The moon has less mass than the earth, so what happens to objects on the moon?
    11·1 answer
  • Lazarus Consulting is a large computer consulting company in New York. Pete Lazarus, theà CEOà and founder, is well known for hi
    8·1 answer
  • Which computer was part of the first generation of computers?
    14·2 answers
  • The road is closed a head
    9·1 answer
  • Electronic mail is best used to:
    5·2 answers
  • Why is science, mathematics, and technology different from engineering?
    15·1 answer
  • HELP FAST PLS<br> Do you care more about avoiding fees/costs, accumulating perks, convenience, etc?
    14·2 answers
  • Write a function named swapFrontBack that takes as input a vector of integers. The function should swap the first element in the
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!