lst = short_names.split()
print(sorted(lst,reverse = True))
I think that would be a function
The opposite of expanding a folder is Collapsing a folder. Hope I helped :)
Answer:
highest of five numbers in the file
Explanation:
- This code reads the file "some-file.txt" and saves the result in variable "somefile"
- The runs a for loop for a count of 5.
- In each loop it compares the current value of the file with the value of the variable result and if the result is true it updates the value of the variable result.
- At the end of this code the variable result will contain the highest value in the file "some-file.txt" and print it.