Hi @sanketgupta589,
“Please help me…I need correct python code” isn’t very specific – if someone wants to help you (and remember, most people on this forum are volunteers), you’re asking them to do a lot of work for you!
If you want help with a problem, you should identify:
- What piece of your code isn’t working
- What that code is supposed to do
- What you have tried
- What errors or behaviours you are seeing instead of the correct behaviour
Please read our guide to asking a good question, plus this step-by-step example where we took a vague question like this and turned it into something that’s easy to answer!