LLD - Design — Splitwise (Expense Sharing)
What will be the output of this Python code?
transactions = [{'id': 't1', 'amount': 100}, {'id': 't2', 'amount': 200}]
ids = [t['id'] for t in transactions]
print(ids)