Positional-Only and Keyword-Only Together

def transfer(amount, /, account, *, currency):
    return f"{amount} {currency} to {account}"

print(transfer(100, "acct1", currency="USD"))
print(transfer(amount=100, account="acct1", currency="USD"))

What happens when this code runs?

A

The first call raises TypeError because account must be passed by keyword after the /, and the second call prints '100 USD to acct1'

B

The first call prints '100 USD to acct1'; the second raises TypeError because amount cannot be passed by keyword

C

Both calls print '100 USD to acct1'

D

Both calls raise TypeError, because account is never explicitly marked as positional-or-keyword