Subtract two variables
Calculate the profit by subtracting the costs from revenue.
revenue = 10
costs = 7
profit =
# expected result: 3
print(profit)
Python
Setting up Python environment...
Output
revenue = 10
costs = 7
profit =
# expected result: 3
print(profit)
Setting up Python environment...