Write a function that can find the zip code for a person from a delimited string for an address. For example, it might read a string that has in it “name:line1:line2: city:state:zipCode” and return the zip code.
Note: In the answer, it’s acceptable to assume that the delimiting string will be passed in to the function as well. Additionally, the answer can make the assumption that the zip code will always be the last section.
```
def findZipcode(source, delimit):
parts = source.split(delimit)
return parts[len(parts)-1]
```
You might also like to view...
In PowerPoint a picture can be a(n) ____________________ created and saved in any number of file formats.
Fill in the blank(s) with the appropriate word(s).
Prior to the passage of the Patriot Act, law enforcement had access to stored wire communications but not stored electronic communications
Indicate whether the statement is true or false.
What is the primary tool Windows uses for providing authorization?
A. NTFS B. Shared folders C. Local Security Policy D. Parental Controls
The informal expression used more often for searching for RF signals is ____.
A. phishing B. pharming C. beaconing D. wardriving