why is my jupiter notebook showing this error

4 answers ( 0 marked as helpful)
Hey Ayush,
Thank you for reaching out!
As the error reads, the variable input_text
is not defined in your code. You would need to define it before using it in the for
-loop.
Kind regards,
365 Hristina
but sir I have defined it in the block above it it is not reading the values of the block above
like this

Hey again Ayush,
Try to restart the kernel as shown below. Then, run all cells in your notebook in order.

Kind regards,
365 Hristina
that worked sir thanks