I am a bit confused regarding data structure in python; ()
,[]
, and {}
. I am trying to sort a simple list, probably since I cannot identify the type of data I am failing to sort it.
My list is simple: ['Stem', 'constitute', 'Sedge', 'Eflux', 'Whim', 'Intrigue']
My question is what type of data this is, and how to sort the words alphabetically?