t2:=("a","a","a","e","e","i","i","i","u") [enter]
t2.count(t2,"a") [enter] returns 1? > 3
count
Modérateur : xcasadmin
-
- Messages : 561
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: count
t2 is a sequence, therefore evaluation of t2,"a" will add "a" to the sequence.
-
- Messages : 561
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: count
This feature has not yet been updated.
Re: count
It will never be, because of the nature of the objects. Sequences in Xcas are != from tuples in Python.