Zerodha Account Opening
₹0 Brokerage on Equity Delivery & Mutual Funds
Flat ₹20/trade for Intraday & F&O
India’s most trusted trading platform 💹
🔓 Open Account – FREE⏱ 5 min | 100% Online | Paperless
Note that Equity delivery brokerage is Rs 0 with Zerodha. So you don't pay anything.
For intraday, the brokerage is charged for every 'successfully executed order'.
In the example you gave above, if both the transactions are part of 1 order then you pay only Rs 20. It doesn't matter how many transactions order is completed in exchange.
If they are part of different orders placed, then separate brokerage of Rs 20 for each order is charged.
Free Equity Delivery
Flat ₹10 per Trade in Intraday & F&O