What is an Atmosphere account?
By logging in you agree to the terms, privacy policy and community guidelines.
Don't have an account? Create one
A sample repository showing a pull with a review and line comments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import sys def count_words(text): return len(text.split()) def main(): path = sys.argv[1] with open(path) as f: text = f.read() print(count_words(text)) if __name__ == "__main__": main()