Generally speaking, yes. Python is a general purpose language so it can be used to do whatever, but that doesn't mean it's the best tool to do so.
Ultimately you will need to include JS into the process anyway though if you want anything resembling a modern web app unless you plan to use WASM (but even then, you need JS -- and I wouldn't choose python for a WASM app when things like rust exist lol)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Generally speaking, yes. Python is a general purpose language so it can be used to do whatever, but that doesn't mean it's the best tool to do so.
Ultimately you will need to include JS into the process anyway though if you want anything resembling a modern web app unless you plan to use WASM (but even then, you need JS -- and I wouldn't choose python for a WASM app when things like rust exist lol)