Create a basic Python script that executes a calculation of the total cost of a purchase (price * quantity).
price = 10
quantity = 3
#calculate the total
total_cost = price * quantity

#print the total
print(total_cost) # Output: 30