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
#!/usr/bin/env python | |
# PRACTICE PYTHON script 'Pick Word' | |
# http://www.practicepython.org/exercise/2016/09/24/30-pick-word.html | |
import random | |
SOWPODS_FILE = "sowpods.txt" | |
def random_word(filename=SOWPODS_FILE): | |
"""Returns a random word from a local |
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
#!/usr/bin/env python | |
# PRACTICE PYTHON script | |
# Part 1. Pick Word | |
# Part 2. User guesses letters until they get it right | |
# http://www.practicepython.org/exercise/2016/09/24/30-pick-word.html | |
import random | |
SOWPODS_FILE = "sowpods.txt" |
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
#!/usr/bin/env python | |
# PRACTICE PYTHON script | |
# Part 1. Pick Word | |
# Part 2. User guesses letters until they get it right | |
# Part 3. Limit incorrect guesses and allow repeated games | |
# http://www.practicepython.org/exercise/2016/09/24/30-pick-word.html | |
import random | |
SOWPODS_FILE = "sowpods.txt" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Spreadsheets | Programming Languages | |
---|---|---|
Data-centric | Object-oriented | |
Spatial | Linear | |
Visual | Text-based | |
Manual | Automatic | |
Error-prone | Repeatable | |
Hard to reconfigure | Easier to reuse | |
Quick results | Upfront time investment | |
Limited capacity | Large data sets |