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
Vaselesa [24]
3 years ago
11

(Display nonduplicate words in ascending order)

Computers and Technology
1 answer:
olya-2409 [2.1K]3 years ago
5 0

Answer:

The program to this question as follows:

Program:  

value = input("Input text value: ") #defining variable value and input value by user

word = value.split() #defining variable word that split value

sort_word = sorted(word) #defining variable using sorted function

unique_word = [] #defining list

for word in sort_word: #loop for matching same value

   if word not in unique_word: #checking value

       unique_word.append(word) #arrange value using append function

print(' '.join(unique_word)) #print value

Output:

Input text value: Good morning Good afternoon Good evening

Good afternoon evening morning  

Explanation:

In the above python code, a value variable is defined that uses input function to input value from the user end, and the word variable is declared, which uses the split method, which split all string values and defines the sort_word method that sorted value in ascending order.

  • Then an empty list "unique_word" is defined, which uses the for loop and inside the loop, a conditional statement is used.
  • In if block, it matches all value is unique if this is condition is true it will arrange all values and uses the print function to print all value.  

You might be interested in
if a user watches a video with event tracking three times in a single session, analytics will count how many unique events?
Lyrx [107]

Answer:

1

Explanation:

Analytics will count it a One (‘1’) Unique Event, even if a user watches a video with event tracking three times but in a single session.

8 0
2 years ago
The mean of a collection of data is located at the​ ______ of a distribution of data.
Brilliant_brown [7]

Answer:

'balancing point' is your answer

<em><u>Please</u></em><em><u> </u></em><em><u>mark as brilliant </u></em>

7 0
3 years ago
Before you give your presentation to an audience, you should make sure that your ideas are organized in a clear and meaningful w
avanturin [10]

The answer is the second choice, "Re-order."


If your slides are in the wrong order, you can re-order them by dragging them into the correct place on the side toolbar.

8 0
4 years ago
Read 2 more answers
Write a report on the effectiveness of using thicker bags. Remember to include the effect on the environment and the economy in
malfutka [58]

The effectiveness of using thicker bags are:

  • It has the lowest environmental impact in terms of any other disposable bag.
  • It can be used three to six more times.
  • It is environmentally sustainable.

<h3>What is the effect of thicker plastic bags have on the environment?</h3>

The use of plastic bags is known to have some form of detrimental effects on the such as animal choking, pollution, and others.

Conclusively, Note that thicker bags needs a lot of plastic to be able to produce it and it goes to waste even if a person do not use it again.

Learn more about environment from

brainly.com/question/17413226

4 0
3 years ago
Which measurement symbol is this?<br><br><br>PLS HELP ME​
andreev551 [17]

Answer:

hi! can you please leave the symbol so I can help you??

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • The mass of a textbook is about 1.25 kilograms. Aproximately, how many ounces is this?
    10·1 answer
  • I need help please?!!!!!!!!!
    15·1 answer
  • The article begins with the author mentioning the need to find something from “three years ago”. How long do you see yourself sa
    7·1 answer
  • How do you change between worksheets inside an excel workbook?
    13·2 answers
  • How do you create a reference page in apa format with all websites?
    5·1 answer
  • What piece of equipment is NOT a tool that would be considered appropriate equipment for on-site visits? a. multimeter b. flashl
    14·1 answer
  • Select the word or phrase from the drop-down menu to complete each sentence. File names consist of a ______ and a file extension
    10·1 answer
  • When using the Photo Album dialog box, a picture
    13·2 answers
  • Characteristics of partial copy sandboxes versus full sandboxes? choose 2 answers
    10·1 answer
  • When a range of ip addresses is set aside for client devices, and one of these ips is issued to these devices when they request
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!