We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b6870 commit 7945125Copy full SHA for 7945125
counting-org.py
@@ -21,7 +21,7 @@
21
pieces = line.split()
22
email = pieces[1]
23
parts = email.split('@')
24
- org = parts[1]
+ org = parts[-1] # reading the last element of the list
25
print org
26
# question maker is a place holder to be filled in
27
cur.execute('SELECT count FROM Counts WHERE org = ? ', (org, ))
0 commit comments