//Program
====================
librarian1.py
==============
# make a empty list to add user input names
lst = []
for i in range(5):
# take input from the user
auth = input("Name: ")
# append user input name into the list
lst.append(auth)
# sort the list
lst.sort()
# print the list
print(lst)
==============================================
//Output
Light Amplification by Stimulated Emission of Radiation
Answer:
The answer is below
Explanation:
There are various reasons to apply arrays in a program. Some of which includes:
1. Arrays provides users to easily save specified numbers of the element in them.
2. It easily store data of similar types and sizes.
3. It allows users to store data in various dimensional arrays.
4. It eliminates deficit of memories for the location of its elements