I didn't know where to put this, so if it's in the wrong area please move it 
So I'm pretty new with Python, and I have a little problem with a small task. I have made a list of strings of a text. It looks like this
liste = ["After", "the", "glimpse", "I", "had", "had", "of", "the", "Martians", "emerging", "from", "the", "cylinder", "in", "which", "they", "had", "come", "to", "the", "earth", "from", "their", "planet",",","a", "kind", "of", "fascination", "paralysed", "my", "actions",".", "I", "remained", "standing", "kneedeep", "in", "the", "heather",",", "staring","at", "the","mound", "that", "hid", "them", ".", "I", "was", "a", "battleground", "of", "fear", "and", "curiosity", ".", "I", "did", "not", "dare", "to", "go", "towards", "the", "pit", ".", "but", "I", "felt", "a", "passionate", "longing", "to", "peer", "into", "it", ".", "I", "began", "walking", "therefore", ",", "in", "a", "big", "curve", ",", "seeking", "some", "point", "of", "vantage", "and", "continually", "looking", "at", "the", "sand", "heaps", "that", "hid", "these", "newcomers", "to", "our", "earth", ".", "Once", "a", "leash", "of", "thin", "black", "whips", ",", "like", "the", "arms", "of", "an", "octopus", ",", "flashed", "across", "the", "sunset", "and", "was", "immediately", "withdrawn", ",", "and", "afterwards", "a", "thin", "rod", "rose", "up", ",", "joint", "by", "joint", ",", "bearing", "at", "its", "apex", "a", "circular", "disk", "that", "spun", "with", "a", "wobbling", "motion", ".", "What", "could", "be", "going", "on", "there", "?"]
And I can't figure out how to remove the two last characters of every word. So it looks something like this:
[’Aft’, ’t’, ’glimp’, ’’, ’h’, ’h’, ’’, ’t’, ’Martia’,
’emergi’, ’fr’, ’t’, ’cylind’, ’’, ’whi’, ’th’, ’h’,
’co’, ’’, ’t’, ’ear’, ’fr’, ’the’, ’plane’, ’’, ’ki’,
’’, ’fascinati’, ’paralys’, ’’, ’action’, ’’, ’remain’,
’standi’, ’kneede’, ’’, ’t’, ’heathe’, ’stari’, ’’, ’t’,
’mou’, ’th’, ’h’, ’the’, ’’, ’w’, ’’, ’battlegrou’, ’’,
’fe’, ’a’, ’curiosit’, ’’, ’d’, ’n’, ’da’, ’’, ’’, ’ba’,
’towar’, ’t’, ’pi’, ’b’, ’’, ’fe’, ’’, ’passiona’, ’longi’,
’’, ’pe’, ’in’, ’i’, ’’, ’beg’, ’walkin’, ’therefor’, ’’,
’’, ’b’, ’curv’, ’seeki’, ’so’, ’poi’, ’’, ’vanta’, ’a’,
’continual’, ’looki’, ’’, ’t’, ’sa’, ’hea’, ’th’, ’h’,
’the’, ’newcome’, ’’, ’o’, ’eart’, ’On’, ’’, ’lea’, ’’,
’th’, ’bla’, ’whip’, ’li’, ’t’, ’ar’, ’’, ’’, ’octopu’,
’flash’, ’acro’, ’t’, ’suns’, ’a’, ’w’, ’immediate’,
’withdraw’, ’a’, ’afterwar’, ’’, ’th’, ’r’, ’ro’, ’u’,
’joi’, ’’, ’join’, ’beari’, ’’, ’i’, ’ap’, ’’, ’circul’,
’di’, ’th’, ’sp’, ’wi’, ’’, ’wobbli’, ’motio’, ’Wh’,
’cou’, ’’, ’goi’, ’’, ’ther’]
If any Python experts out there could help me I'd really appreciate it
Thanks.
So I'm pretty new with Python, and I have a little problem with a small task. I have made a list of strings of a text. It looks like this
liste = ["After", "the", "glimpse", "I", "had", "had", "of", "the", "Martians", "emerging", "from", "the", "cylinder", "in", "which", "they", "had", "come", "to", "the", "earth", "from", "their", "planet",",","a", "kind", "of", "fascination", "paralysed", "my", "actions",".", "I", "remained", "standing", "kneedeep", "in", "the", "heather",",", "staring","at", "the","mound", "that", "hid", "them", ".", "I", "was", "a", "battleground", "of", "fear", "and", "curiosity", ".", "I", "did", "not", "dare", "to", "go", "towards", "the", "pit", ".", "but", "I", "felt", "a", "passionate", "longing", "to", "peer", "into", "it", ".", "I", "began", "walking", "therefore", ",", "in", "a", "big", "curve", ",", "seeking", "some", "point", "of", "vantage", "and", "continually", "looking", "at", "the", "sand", "heaps", "that", "hid", "these", "newcomers", "to", "our", "earth", ".", "Once", "a", "leash", "of", "thin", "black", "whips", ",", "like", "the", "arms", "of", "an", "octopus", ",", "flashed", "across", "the", "sunset", "and", "was", "immediately", "withdrawn", ",", "and", "afterwards", "a", "thin", "rod", "rose", "up", ",", "joint", "by", "joint", ",", "bearing", "at", "its", "apex", "a", "circular", "disk", "that", "spun", "with", "a", "wobbling", "motion", ".", "What", "could", "be", "going", "on", "there", "?"]
And I can't figure out how to remove the two last characters of every word. So it looks something like this:
[’Aft’, ’t’, ’glimp’, ’’, ’h’, ’h’, ’’, ’t’, ’Martia’,
’emergi’, ’fr’, ’t’, ’cylind’, ’’, ’whi’, ’th’, ’h’,
’co’, ’’, ’t’, ’ear’, ’fr’, ’the’, ’plane’, ’’, ’ki’,
’’, ’fascinati’, ’paralys’, ’’, ’action’, ’’, ’remain’,
’standi’, ’kneede’, ’’, ’t’, ’heathe’, ’stari’, ’’, ’t’,
’mou’, ’th’, ’h’, ’the’, ’’, ’w’, ’’, ’battlegrou’, ’’,
’fe’, ’a’, ’curiosit’, ’’, ’d’, ’n’, ’da’, ’’, ’’, ’ba’,
’towar’, ’t’, ’pi’, ’b’, ’’, ’fe’, ’’, ’passiona’, ’longi’,
’’, ’pe’, ’in’, ’i’, ’’, ’beg’, ’walkin’, ’therefor’, ’’,
’’, ’b’, ’curv’, ’seeki’, ’so’, ’poi’, ’’, ’vanta’, ’a’,
’continual’, ’looki’, ’’, ’t’, ’sa’, ’hea’, ’th’, ’h’,
’the’, ’newcome’, ’’, ’o’, ’eart’, ’On’, ’’, ’lea’, ’’,
’th’, ’bla’, ’whip’, ’li’, ’t’, ’ar’, ’’, ’’, ’octopu’,
’flash’, ’acro’, ’t’, ’suns’, ’a’, ’w’, ’immediate’,
’withdraw’, ’a’, ’afterwar’, ’’, ’th’, ’r’, ’ro’, ’u’,
’joi’, ’’, ’join’, ’beari’, ’’, ’i’, ’ap’, ’’, ’circul’,
’di’, ’th’, ’sp’, ’wi’, ’’, ’wobbli’, ’motio’, ’Wh’,
’cou’, ’’, ’goi’, ’’, ’ther’]
If any Python experts out there could help me I'd really appreciate it
Thanks.
