-
Practice>Python>Regex and Parsing>HTML Parser - Part 1hackerrank.com 2019. 4. 15. 12:25728x90
HTML Parser - Part 1
Problem Link : https://www.hackerrank.com/challenges/html-parser-part-1/problem
Difficulty : Easy
Tip
- Path to import, is differenct as per Python2/3
- Problem description is written for Python2
- So, for Python3 please refere below.
- from html.parser import HTMLParser
- Don't forget to print attrs in handle_startendtag() method
Solution
728x90'hackerrank.com' 카테고리의 다른 글
Practice>Python>Regex and Parsing>Detect HTML Tags, Attributes and Attribute Values (0) 2019.04.15 Practice>Python>Regex and Parsing>HTML Parser - Part 2 (0) 2019.04.15 Practice>Python>Regex and Parsing>Hex Color Code (0) 2019.04.12 Practice>Python>Regex and Parsing>Validating and Parsing Email Addresses (0) 2019.04.12 Practice>Python>Regex and Parsing>Validating phone numbers (0) 2019.04.11