Question: Write an expression to print each price in stock _ prices Sample output with inputs: 3 4 6 2 7 6 . 3 0 8

Write an expression to print each price in stock_prices
Sample output with inputs: 346276.3085.05
$34.62
$76.30
$85.05
1. NOTE: The following statement converts the input into a list 2 stock_prices - input (). splitt()
3
4 for :
5 print(' $ ', price)
 Write an expression to print each price in stock_prices Sample output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!