Skip to content

Conversation

@salimhamed
Copy link
Contributor

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

@salimhamed
Copy link
Contributor Author

Also added session 5 homework.

@codedragon codedragon self-assigned this Nov 8, 2014
Copy link
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