***IN PYTHON PLEASE***
*
*
*
Create a program that reads a list of Integer numbers from afile named data.txt (create your own file with about 16 numbers -no repetitions and one number per line)
Store those numbers into an array a and sort it - a.sort()
Use the linked list and node classes seen in class to store theordered elements of a into a LinkedList structure L
Ask the user a Integer value x
Look for the position to insert x in L If the value x is alreadyin L, remove it If it is not, insert x in the appropriated positionso L remains sorted
***IN PYTHON PLEASE*** * * * Create a program that reads a list of Integer numbers from a file named data.txt (create yo
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am