+ 1
Why my code ain' working?
4 Answers
+ 4
You forgot to specify the variable first, assign it the value
+ 3
In your for loop, you iterate on each single character of the profile string, not on words...
Use method split, which splits a string on the positions of a certain defined char... By default, it splits on space..
So change your loop to:
for word in profile.split() :
+ 1
Which varaible?