need to make a function that sorts integers from smallest to largest without using
the sort function in python
python must open a file with integers one per line
store the data in a list then print the unsorted list
then bubble sort code sorts the list from smallest to largest
then print the sorted list

p.s. am new to python

Post your code and explain your problem and what you have done to solve it. Do not forget code-tags.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.