6th Nov 2020, 7:40 AM
ahsan rzingpa
ahsan rzingpa - avatar
4 Respuestas
+ 4
You forgot to specify the variable first, assign it the value
6th Nov 2020, 7:42 AM
Operand
Operand - avatar
+ 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() :
6th Nov 2020, 8:07 AM
G B
G B - avatar
+ 1
Which varaible?
6th Nov 2020, 8:07 AM
ahsan rzingpa
ahsan rzingpa - avatar
+ 1
Thanks G B for helping me So CoolNanny .
6th Nov 2020, 8:11 AM
ahsan rzingpa
ahsan rzingpa - avatar