Formula Questions- it doesn't calculate b^n1 in the Answer

Re: Formula Questions- it doesn't calculate b^n1 in the Answer

yazan Dominique Bauer -
Yanıt sayısı: 0
Documentation writers 'ın resmi Particularly helpful Moodlers 'ın resmi Plugin developers 'ın resmi
In the answer, b^n1 represents the bitwise operator XOR. Therefore, 3^2 is equal to 1, not 9.

Use the appropriate syntax, that is, the exponentiation operator ** (recommended) or the power function pow(). So you must write:

Answer   [b**n1,1,n1]

or

Answer   [pow(b,n1),1,n1]