megabyte_bars.py

Download megabyte_bars.py file


## megabyte_bars.py

print( "*Megabyte Bar Cost Calculator*" )

print( "How many Megabyte Bars do you want?" )
numbars = input( "Enter number: " )

## Delete the following line and add your own code to compute the cost.

cost = "NOT ATTEMPTED"


print( "The cost is:", cost)

# make sure that the answer is the last thing you print!