2021-06-06 10:47:24 UTC+2, Cyrille Piatecki:
>
> [c[i] for i in range(0..2)] <-- this doesn't work

You are mixing two different options:

- range:
  [c[i] for i in range(2)]
  [c[i] for i in range(0, 2)]

- ellipsis:
  [c[i] for i in (0 .. 2)]

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/099cbcb7-2455-4b4c-982e-7214c6fa507fn%40googlegroups.com.

Reply via email to