Learning-Python-Team / Learning-Python-Team/UnTruth

Function for Word Comparrison

Open
#10 6 comments 0 reactions 1 assignee View on GitHub

@asiffarhankhan is already working on this.

Since Aug 26, 2019.

good first issue
Dominant language
Python
Stars
3
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Write a function that takes a string and compares every word in the string with a given dict.

The given dict looks something like

bad_word = {'Monster' : 5, 'Thief' : 3.6, 'Money' : 1}

Add all scores, assuming 0 for missing words, and return the sum

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.