Please be informed that no, you cannot use python in the frontend. You can only use frontend technologies like html, CSS, javascript, jQuery, etc... for the frontend. Python can be used as a scripting language in the backend.
Kick-start your career in Python with the perfect below python tutorial video for better understanding: