You're right that it can be confusing. The function symbols() does do
basically what you said, and it's the function we generally recommend
using.

The reason there is also Symbol() is because Symbol is the class for
symbol objects, and you can create symbol objects directly with the
class constructor. But you only ever need to use the class name Symbol
if you're doing something that requires the class, like isinstance().

Aaron Meurer

On Mon, Jun 23, 2025 at 9:52 AM Stephen Learmonth
<stephen.j.learmo...@gmail.com> wrote:
>
> Why-oh-why are there these two functions for creating a single Sympy symbol 
> or mutliple Sympy symbols.
>
> This is so stupid and confusing!
>
> Why not just have ONE function called symbols(...) and let the function 
> definition figure out how many symbols you want to create!
>
> This is soooo confusing!!!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion visit 
> https://groups.google.com/d/msgid/sympy/cd6d1ad8-4a21-4024-8f3f-86f480757e26n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6K6pq3kdE4O%3Dz3cRU58tOJm%2B-pw1RSpvNY1_wJp2o4Bxg%40mail.gmail.com.

Reply via email to