I would use len(). I tried len() but I can't figure it out at all. It wants me to find the length of each string/element in a list or whatever. That's where I'm lost. It can be any given number of strings in the list. How do I count them all individually and output each count in list format like above? I poorly worded my question. I need more help than just figuring out to use len().
How do you find the length of an element of a list?
How do you find the length of an element of a list?
|
|
Users browsing this thread: 3 Guest(s)