Why in output Twitter is getting printed, only twwtr should be printed as per my understanding.
1 Answer
For future reference, please paste code as formatted text, not as image.
The problem is if 'c' not in l:
There is no 'c' in l. Using the single quotes makes c a string literal.