(import [abjad [*]]) (setv leaves [(Note "fs'4") (Note "g'4") (Rest "r4")]) (setv tuplet (Tuplet (, 2 3) leaves)) (print (format tuplet)) (print (len tuplet))