Hi i like Python very much and even i am 40 i started to lean it. I need some help.
i have a huge list that contains 28920 value in it. Each one is a string.
small = ['1', 'Manchester City', '3', '3', '0', '0', '14', '2', '12', '9', '2', 'Tottenham Hotspur', '3', '3', '0', '0', '7', '2', '5', '9', '3', 'Arsenal', '3', '3', '0', '0', '8', '4', '4', '9', '4', 'Liverpool', '3', '2',
'1', '0', '12', '2', '10', '7', '5', 'Brentford', '3', '2', '1', '0', '10', '3', '7', '7', '6', 'Brighton & Hove Albion', '3', '2', '1', '0', '6', '2', '4', '7', '7', 'Leeds United', '3', '2', '1', '0', '6', '2', '4', '7', '8', 'Fulham', '3', '2', '1', '0', '7', '5', '2', '7', '9', 'Chelsea', '3', '2', '1', '0', '6', '4', '2', '7', '10', 'Manchester United', '3', '2', '0', '1', '6', '4', '2', '6', '11', 'Newcastle United', '3', '1', '2', '0', '5', '3', '2', '5', '12', 'Wolverhampton Wanderers', '3', '1', '2', '0', '2', '1', '1', '5', '13', 'Crystal Palace', '3', '1', '1', '1', '4', '4', '0', '4', '14', 'Southampton', '3', '1', '1', '1', '4', '4', '0', '4', '15', 'Aston Villa', '3', '1', '1', '1', '3', '3', '0', '4', '16', 'AFC Bournemouth', '3', '1', '1', '1', '2', '3', '-1', '4', '17', 'Nottingham Forest', '3', '1', '0', '2', '3', '5', '-2', '3', '18', 'Everton', '3', '0', '2', '1', '1', '2', '-1', '2', '19', 'Leicester City', '3', '0', '1', '2', '3', '5', '-2', '1']
The team names are always at 1th 11th 22th 33.th index ....
All want i have two blank list
team_names = []
numbers = []
How can add team names to team_names list in Strings format as it is and remainings to numbers list in a integer format? But the order of the numbers should be same. After this process i will create my dictionaty.
'0' format makes problem for me.
Thanks very much.