We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b850d56 commit fe9afd1Copy full SHA for fe9afd1
code3/re03.py
@@ -1,9 +1,8 @@
1
-# Search for lines that start with 'F', followed by
+# Search for lines that start with 'F', followed by
2
# 2 characters, followed by 'm:'
3
import re
4
hand = open('mbox-short.txt')
5
for line in hand:
6
line = line.rstrip()
7
- if re.search('^F..m:', line) :
+ if re.search('^F..m:', line):
8
print(line)
9
-
0 commit comments