do we need to learn python for web development code example
Example: is python good for web development
Yes, with python, you can web development :)
I recommend the django framework: https://www.djangoproject.com/
and Flask: https://flask.palletsprojects.com/
If you want to read more, I can recommend you this article:
https://www.imaginarycloud.com/blog/why-use-python-for-web-development/