The English needs a lot of work, but it's not incomprehensible.
Bigger problems: the first problem's instructions are unclear; the first example is burdened with lines so long that they have to wrap; the first example involves crufty type casting out the gate. This serves not only to confuse newbies, but to visually offend experienced programmers.
The prompt reads as follows:
"Teach Sofia how to use an ATM. The ATM on their home island can give only 5F bills, which means that the machine will not give any bill not divisible by 5F. In addition to that, the commission for each cashing out is 0.5F + 1% from the taken out cash plus the robots cannot go beyond the card’s balance."
The leading comments of the code do not seem to go with it:
"# Withdraw without any incident ... # 120 - 10 - 0.5 - 1% = 109.4"
Neither says anything obvious enough about what sort of code you expect people to write such that the tests are passed. The major failing here isn't one of language, but of design.
Bigger problems: the first problem's instructions are unclear; the first example is burdened with lines so long that they have to wrap; the first example involves crufty type casting out the gate. This serves not only to confuse newbies, but to visually offend experienced programmers.
The prompt reads as follows: "Teach Sofia how to use an ATM. The ATM on their home island can give only 5F bills, which means that the machine will not give any bill not divisible by 5F. In addition to that, the commission for each cashing out is 0.5F + 1% from the taken out cash plus the robots cannot go beyond the card’s balance."
The leading comments of the code do not seem to go with it: "# Withdraw without any incident ... # 120 - 10 - 0.5 - 1% = 109.4"
Neither says anything obvious enough about what sort of code you expect people to write such that the tests are passed. The major failing here isn't one of language, but of design.