Skip to content

Perrell-object/readability-cs50-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Readability Python - CS50

banner

Description

A program that computes the approximate grade level needed to comprehend some text.

The program asks the user to type in some text, and then outputs the grade level for the text, according to the Coleman-Liau formula.

Coleman-Liau's index is computed as 0.0588 * L - 0.296 * S - 15.8 where L is the average number of letters per 100 words in the text, and S is the average number of sentences per 100 words in the text.

How to use

python readability.py Text: (Input any text of your choice)

You will then receive the Grade level: e.g. Grade 3

Code Snippet

code snippet

Links

For more information about Readability visit:


About

A program that computes the approximate grade level needed to comprehend some text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages