i have python code like this, basically i just want to solve this product percentage so the result in product percentage will appear, here's the code:
product_a_sales = 5
product_b_sales = 5
total_sales = product_b_sales - product_a_sales
try:
product_a_percentage_sales=(product_a_sales/total_sales) * 100
except ZeroDivisionError:
product_a_percentage_sales=0
and it returns an error like this
File "<ipython-input-30-aa369d387f3d>", line 5
product_a_percentage_sales=(product_a_sales/total_sales) * 100
^
IndentationError: expected an indented block