Skip to content

rlarabel/file_I-O_snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file_I-O_snippets

high_scores.py

Input

  • scores.txt
  • .txt row format
    • name,score

Output

  • Total number of entries
  • The winner and their score

word_list_file_writer.py

Input

  1. The amount of words the user wants to input
  2. loops user input for the words

Output

  • word_list.txt
    • each word separated with a '\n'

word_list_file_reader.py

Input

  • The file made by word_list_file_writer.py

Output

  • Prints in terminal
    • total amount of words read
    • the longest word
    • The average length of all words on file

Releases

No releases published

Packages

No packages published

Languages