Skip to content

Session 4 Homework - #55

Merged
codedragon merged 17 commits into
UWPCE-PythonCert:masterfrom
salimhamed:master
Nov 8, 2014
Merged

Session 4 Homework#55
codedragon merged 17 commits into
UWPCE-PythonCert:masterfrom
salimhamed:master

Conversation

@salimhamed

Copy link
Copy Markdown
Contributor

Here's my homework for session 04. Please review at your leisure.

@salimhamed

Copy link
Copy Markdown
Contributor Author

Also added session 5 homework.

@codedragon codedragon self-assigned this Nov 8, 2014

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you are using a less than sign, this will actually stop when there are four words left, so to get all trigrams possible you would use 'if idx < len(all_words) - 2:'

codedragon added a commit that referenced this pull request Nov 8, 2014
@codedragon
codedragon merged commit ecf25bf into UWPCE-PythonCert:master Nov 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants