Ask a question from expert

Ask now

Profane Filter.

1 Pages127 Words287 Views
   

Added on  2019-09-16

Profane Filter.

   Added on 2019-09-16

BookmarkShareRelated Documents
Profane FilterSuppose that we are working for an online service that provides a bulletin board for its users. We would like to give our users the option of filtering out profanity. Suppose that we consider the words "brown" "black" "white"tobe profane. Write a program that reads a string from the keyboard and tests whether the string contains one of our profane words. Your program should find words like"WHite"that differ only in case.Have your program reject only lines that contain a profane word exactly. For example,Whitemanor Brownbagshould not be considered profane.List of Profane words: Create a list of 12 profane words
Profane Filter._1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Python Programming: Research Report
|7
|2904
|737

Assignment on Different Types of Recommendation Systems
|8
|3049
|287

Implementation of Prototype System
|3
|1095
|131

Programming Assignment | Program Creation
|4
|1061
|515

Please use the file provided for coding..
|2
|959
|64

Write Programs Using Integer Numbers
|2
|966
|423