Answered step by step
Verified Expert Solution
Question
1 Approved Answer
implement python code for following Player ID Player Name Age Height(cm) Weight(kg) 000000001 Aaron Appindangoye 26 183 84.8 000000002 Aaron Cresswell 28 170 66.2 000000003
implement python code for following Player ID Player Name Age Height(cm) Weight(kg) 000000001 Aaron Appindangoye 26 183 84.8 000000002 Aaron Cresswell 28 170 66.2 000000003 Aaron Doran 26 170 73.9 000000004 Aaron Galindo 36 183 89.8 000000005 Aaron Hughes 38 183 69.9 000000006 Aaron Hunt 31 183 73.0 000000007 Aaron Kuhl 22 173 66.2 000000008 Aaron Lennon 31 165 63.1 000000009 Aaron Lennox 25 191 82.1 000000010 Aaron Meijers 30 175 77.1 000000011 Aaron Mokoena 37 183 82.1 000000012 Aaron Mooy 27 175 68.0 000000013 Aaron Muirhead 27 188 76.2 000000014 Aaron Niguez 29 170 64.9 000000015 Aaron Ramsey 27 178 69.9 000000016 Aaron Splaine 21 173 73.9 000000017 Aaron Taylor-Sinclair 27 183 79.8 000000018 Aaron Wilbraham 38 191 72.1 000000019 Aatif Chahechouhe 31 175 68.0 000000020 Abasse Ba 41 188 83.9
above is some contents from players.txt file. . some of the playername are like "swapnil patel sin john". how to read this players.txt file in python and store data into ID,name,age,weight,height list. Also ask user to input player details and attach the entered details into end of file. and ask user to enter playerId and show the player details based on player id.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started