Untitled
unknown
plain_text
a year ago
413 B
4
Indexable
hairstyles = ["bouffant", "pixie", "dreadlocks", "crew", "bowl", "bob", "mohawk", "flattop"]
prices = [30, 25, 40, 20, 20, 35, 50, 35]
last_week = [2, 3, 5, 8, 4, 4, 6, 2]
total_price = 0
for price in prices:
total_price += price
print(total_price)
average_price = total_price / len(prices)
print("Average Haircut Price: ", average_price)
new_prices = [price - 5 in prices]
print(new_prices)Editor is loading...
Leave a Comment