Plagiarism Checker

from difflib import SequenceMatcherdef Plagerism_checker(f1, f2):    with open(f1,errors="ignore") as file1,open(f2,errors="ignore") as file2:
f1_data=file1.read()
f2_data=file2.read()
checking=SequenceMatcher(None, f1_data, f2_data).ratio()
print(f"These files are {checking*100} % similar")
file_1=input("Enter file 1 path: ")
file_2=input("Enter file 2 path: ")
Plagerism_checker(file_1, file_2)

--

--

--

Thanks for visiting my blogs. Hope you all find it useful

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Simple Introduction to Hadoop EcoSystem

Growth of a Concept

Access your AWS EC2 instance from VS Code over SSH

Django Database Migrations: A Comprehensive Overview

Toggle Talk with Matt Knox, Twitter 2009–2014, Reddit 2017-Now

How to screw-up project without taking responsibility (and how to prevent this)? (2)

READ/DOWNLOAD@> Questions of Perception: Phenomenology of Architecture FULL BOOK PDF & FULL…

How can you practice coding?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sriw World of Coding

Sriw World of Coding

Thanks for visiting my blogs. Hope you all find it useful

More from Medium

HTML- 5. Embedded

Dlithe Bootcamp .NET Full Stack Developer- Week 2

Self-publishing for Everybody