#This is a way without a loop
friends = list(map(str,input("Enter Names: ").split()))
print(sorted(friends))
#This is a way with a loop (for&&while)
friends = list(map(str,input("Enter Names: ").split()))
cool = True
while cool:
cool = False
for i in range(len(friends)-1):
if friends[i] > friends[i+1]:
coo = friends[i]
friends[i] = friends[i+1]
friends[i+1] = coo
cool = True
print(friends)
Advantages
Increase your productivity. ...
Connects you to the Internet. ...
Can store vast amounts of information and reduce waste. ...
Helps sort, organize, and search through information. ...
Get a better understanding of data. ...
Keeps you connected. ...
Help you learn and keep you informed. ...
Can make you money.
Disadvantages
Too much sitting. ...
Carpal tunnel and eye strain. ...
Short attention span and too much multitasking. ...
Potential of loss of privacy. ...
Can limit learning and create a dependency. ...
Time sink and lots of distractions....
This link should help: https://uhasct.com/insert-an-empty-row-between-each-row-of-data-in-excel/
The argument for the function would be answer "D".