Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 2 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 26 May 2017 My Price 3.00

Implement function duplicate() that takes as input a string

Implement function duplicate() that takes as input a string and the name of a file in the current directory and returns True if the file contains duplicate words and False otherwise.

 

 

Answers

(8)
Status NEW Posted 26 May 2017 11:05 AM My Price 3.00

-----------

Attachments

file 1495798487-Answer.docx preview (51 words )
I-----------mpl-----------eme-----------nt -----------fun-----------cti-----------on -----------dup-----------lic-----------ate-----------() -----------tha-----------t t-----------ake-----------s a-----------s i-----------npu-----------t a----------- st-----------rin-----------g a-----------nd -----------the----------- na-----------me -----------of -----------a f-----------ile----------- in----------- th-----------e c-----------urr-----------ent----------- di-----------rec-----------tor-----------y a-----------nd -----------ret-----------urn-----------s T-----------rue----------- if----------- th-----------e f-----------ile----------- co-----------nta-----------ins----------- du-----------pli-----------cat-----------e w-----------ord-----------s a-----------nd -----------Fal-----------se -----------oth-----------erw-----------ise-----------. ----------- Â----------- An-----------swe-----------r -----------# c-----------ook----------- yo-----------ur -----------cod-----------e h-----------ere----------- d-----------ef -----------dup-----------lic-----------ate-----------(fi-----------len-----------ame-----------): ----------- in-----------fil-----------e =----------- op-----------en(-----------fil-----------ena-----------me)-----------.re-----------ad ----------- ls-----------t =----------- in-----------fil-----------e.s-----------pli-----------t()----------- f-----------or -----------nam-----------e i-----------n f-----------ile-----------nam-----------e: ----------- if----------- na-----------me -----------in -----------lst-----------: -----------lst-----------.re-----------mov-----------e(w-----------ord-----------) -----------if -----------wor-----------d i-----------n l-----------st:----------- r-----------etu-----------rn -----------Tru-----------e -----------ret-----------urn----------- Fa-----------lse----------- -----------
Not Rated(0)