How to resolve the Python Scope Error

Hi @kishan.savaliya1

Check this

Regards,