19. Explain the use of the pass statement. Illustrate it with an example.
19. Explain the use of the pass statement. Illustrate it with an example. Read More »
# Solution Code #Read the limit limit = float(input(“Enter the limit”)) max_price = 0 # Read the next price next_price = float(input(“Enter a price or 0 to stop:”)) while next_price > 0 : if next_price > max_price and next_price 0: # this block can be used to print max_price before breaking out of the loop