Skip to content

Runestone Issue: 10.3 Parsons (dandf_pp_count_each_letter_rev) Incorrect Code #1195

@taborasykes

Description

@taborasykes

Please check the current issues
I checked and could not find it.

What Page were you on
Please copy/paste the URL from your address bar.

Describe the bug
Line 8 should be "word_count[word] = 0" because a word not already in the word_count dictionary will initially be counted twice due to the lack of an else statement preceding line 9.

A Screenshot is worth a thousand words

Image

Javascript Errors
N/A

What is your username
sykesta@vcu.edu

If you do not take the time to fill in this template we will treat this as very low priority.
Thank you for the interactive textbook!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions