Question related to group transactions

The only thing that matters is that the sum of all the fees of all the transactions is sufficient.
See the thread Cannot calculate suggested fees for inner transactions for details

Disclaimer: I did not test the code below.

In TEAL:

txn Fee
int 0
==
assert

in PyTEAL:

Assert(Txn.fee() == Int(0))