Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
Ask the user for five prices (floats) one at a time and store them in a list.
Find the index of the lowest price using a loop (do not use index() if you want practice - or you may use prices.index(min(prices)) after you understand it).
Print the result as a human position from 1 to 5 (add 1 to the Python index).
Skills: range(5), indexing, comparison in a loop.