0
How to find out the length of individual elements of a list.
If I give u a input via input().split() Then how do I find out the no. Of characters in individual elements
2 Answers
+ 7
Nasif Rahman, code has to be like:
#var a = input().split() # 'var' is not valid expression
a = input().split()
for b in a:
print(len(b))
0
Okk I will try