Sunday 2 October 2022

Sorted Function in Python

 Following some scripts of sorted() function that i have created in python languages.

print(sorted('lbcad'))

Then output :

['a', 'b', 'c', 'd', 'l']

No comments:

Post a Comment