79257052

Date: 2024-12-06 06:40:45
Score: 1
Natty:
Report link

With a simpler method:

with open("SCB_earthquakes.xml", "r") as infile:
    lines = infile.read().split("\n")
    for line in lines:
        if '<azimuthalGap>' in line:
            gaps.append(line.split('<azimuthalGap>')[1].split('<')[0])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: solari