Thank you for your email. Actually I got to know I was using an older version of Sage then I tried this in an online notebook, and it's working.
On Thu, 16 Jun 2022 at 14:10, David Joyner <wdjoy...@gmail.com> wrote: > On Thu, Jun 16, 2022 at 8:03 AM Syedafariha Bukhari > <syedafarihabukhar...@gmail.com> wrote: > > > > Dear Representative, > > I am having trouble for Krawtchouk Polynomials my jupyter notebook is > giving error that Krawtchouk is not defined. why it is so? > > > > So we can better help, can you please give an example of the syntax you > tried? > > I'm no expert on those polynomials, nor on the jupyter notebook, but > when I followed > > https://doc.sagemath.org/html/en/reference/coding/sage/coding/delsarte_bounds.html > on the command line, I got this output: > > sage: codes.bounds.krawtchouk(24,2,5,x) > -4/15*(x - 1)*(x - 2)*(x - 3)*(x - 4)*x + 40/3*(x - 1)*(x - 2)*(x - > 3)*x - 280*(x - 1)*(x - 2)*x + 3080*(x - 1)*x - 17710*x + 42504 > > Does that work for you? > > > -- > > 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/8e8c9cc3-e088-4969-b036-38d04a0eb282n%40googlegroups.com > . > > -- > 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/CAEQuuAXW6spjxqcR_emVXxr9Pjc%2BFzRcv75ZH33rktoCwEi40w%40mail.gmail.com > . > -- 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/CALmJSENGe1fLBm8DKnLM%3DEAO6ypnenFOjQKg0NjK_TPd7XAGHQ%40mail.gmail.com.