***IN PYTHON PLEASE*** * * * Create a program that reads a list of Integer numbers from a file named data.txt (create yo

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

***IN PYTHON PLEASE*** * * * Create a program that reads a list of Integer numbers from a file named data.txt (create yo

Post by answerhappygod »

***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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply