This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### CMSC 12100 | |
### Recursion | |
Consider the factorial. | |
This is an iterative solution: | |
def factorial_iterative(n): | |
rv = 1 | |
for val in range(2, n+1): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### CSMC 122 | |
#### January 8, 2018 | |
---------- | |
### Beautiful Soup | |
#### Lecture 1 (Week 1 Fri, 2018-01-05) | |
##### urllib2: | |
We will use urllib2 (a package to import) to scrape websites |