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
otez555 [7]
3 years ago
15

Can you sort by reading the string in reverse in python?

Computers and Technology
1 answer:
STatiana [176]3 years ago
7 0

Explanation:

# Let our string is brainlycom

Main = "brainlycom"

# First we will print the original string.

print("The original string : " + str(Main))

#Now Reverse Sort a String

Reverse_Sort= ''.join(sorted(Main, reverse=True))

print("String after reverse sorting : " + str(Reverse_Sort))

After running the above code you will get the result:

The original string : brainlycom

String after reverse sorting : yronmlicba

You might be interested in
When assigning a value to a string, which of the following rules needs to be followed?
Alecsey [184]

Answer:

Let's say you need to remember some information, the way moviegoers tried to remember the name of the movie. Instead of storing it in your human memory, you can store information in your computer's memory using Python. This is called assigning a string value to a variable.

To assign a string value to a variable in Python, follow this example. Select each part of the code to see how it works with the movie title example.

movieTitle = "Live. Die. Repeat."

This line of Python code is an example of an assignment statement. In an assignment statement, you tell Python, "This variable is assigned this string value."

Explanation:

4 0
3 years ago
When a network mask is applied to any ip address on the network, the result is the ip address' network part followed by zeros?
joja [24]
Yes.








-----------------------------------------------------------------------------------
4 0
4 years ago
A service-oriented architecture _________________. Question 5 options: a) Is one in which the servers are supporting multiple mo
Maurinko [17]

Answer:

Enables Web services to be reused across an organization

Explanation:

Option B is correct

4 0
4 years ago
Question 3
Ksivusya [100]

Answer:

Output is the answer!

Explanation:

The input is when you move the mouse in real life, while the output is when the mouse moves around on the screen.

Brainliest plz

4 0
3 years ago
Which of the following is not an objective of Cloud design ?
ICE Princess25 [194]

A is the correct answer
3 0
3 years ago
Other questions:
  • In addition to meeting OSHA standards, the Department of Defense requires each military department, including the Department of
    12·1 answer
  • The most commonly used traffic control devices used in road construction and maintenance work areas are
    10·1 answer
  • friend wanted us to decode this message ----- .---- ----- ----- .---- ----- ----- .---- / ----- .---- .---- .---- ----- .---- .-
    11·1 answer
  • When you close a file, what happens to the undo history list for that file?
    5·1 answer
  • A newly opened law firm in Kirkland decides to create a small website that provides a brief introduction of the firm, its missio
    8·1 answer
  • Which of these is a sign of healthy A)very high inflation B)A rise in consumers spending C)a shift supply of essential goods D)H
    7·2 answers
  • What property must be set on a menu item to have the user activate that option by pressing Ctrl C on the keyboard
    11·1 answer
  • Please help me please help me.​
    10·1 answer
  • What are some example of popular music for teenagers
    8·2 answers
  • Frank is preparing a subsection of the SRS document that specifies data formats, data integrity, and storage capabilities. Which
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!