Page 1 sur 1

count

Publié : sam. mai 18, 2019 10:28 pm
par compsystems
t2:=("a","a","a","e","e","i","i","i","u") [enter]
t2.count(t2,"a") [enter] returns 1? > 3

Re: count

Publié : dim. mai 19, 2019 2:50 pm
par parisse
t2 is a sequence, therefore evaluation of t2,"a" will add "a" to the sequence.

Re: count

Publié : mar. nov. 05, 2019 1:49 am
par compsystems
This feature has not yet been updated.

Re: count

Publié : mar. nov. 05, 2019 5:16 pm
par parisse
It will never be, because of the nature of the objects. Sequences in Xcas are != from tuples in Python.