Answer:
20
Explanation:
assuming the print statement is not indented, the program effectively calculates 2+5+6+7.
The range(...) is <em>excluding </em>the end value (8 in this case).
Answer: D technical skills
The correct way to observe and create something
The answer is 127 I had that question before
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