Answer:
The program written in python is as follows
prices = "34.62 76.30 85.05"
stock_prices = prices.split()
for price in stock_prices:
print('s', price)
Step-by-step explanation:
This line initialized the input prices using a string variable named prices
prices = "34.62 76.30 85.05"
This line converts prices to list
stock_prices = prices.split()
The following iteration prints each element of the list
for price in stock_prices:
print('s', price)