Diff
checker
टेक्स्ट
टेक्स्ट
छवियां
दस्तावेज़
Excel
फ़ोल्डर्स
Legal
Enterprise
डेस्कटॉप
मूल्य
साइन इन करें
Diffchecker डेस्कटॉप डाउनलोड करें
टेक्स्ट की तुलना करें
दो टेक्स्ट फ़ाइलों के बीच अंतर ढूंढें
उपकरण
इतिहास
रियल-टाइम एडिटर
अपरिवर्तित संक्षिप्त करें
लाइन रैप बंद
लेआउट
विभाजित
संयुक्त
परिवर्तन हाइलाइट करें
स्मार्ट
शब्द
अक्षर
सिंटैक्स हाइलाइटिंग
सिंटैक्स चुनें
अनदेखा करें
टेक्स्ट बदलें
पहले अंतर पर जाएँ
इनपुट संपादित करें
Diffchecker Desktop
Diffchecker चलाने का सबसे सुरक्षित तरीका। Diffchecker Desktop ऐप पाएं: आपके diffs कभी आपके कंप्यूटर से बाहर नहीं जाते!
Desktop पाएं
Untitled diff
बनाया गया
11 वर्ष पहले
Diff कभी समाप्त नहीं होता
साफ़
निर्यात करें
शेयर करें
समझाएं
11 हटाए गए
लाइनें
कुल
हटाया गया
अक्षर
कुल
हटाया गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
20 लाइनें
सभी को कॉपी करें
10 जोड़े गए
लाइनें
कुल
जोड़ा गया
अक्षर
कुल
जोड़ा गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
20 लाइनें
सभी को कॉपी करें
def check(types, value):
def check(types, value):
value = int(value)
value = int(value)
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if types
==
"cats:"
or types ==
"trees:"
:
if types
in (
"cats:"
,
"trees:"
)
:
return props[types] < value
return props[types] < value
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
elif types
==
"pomeranians:"
or types ==
"goldfish:"
:
elif types
in (
"pomeranians:"
,
"goldfish:"
)
:
return props[types] > value
return props[types] > value
return props[types] == value
return props[types] == value
props = {}
props = {}
with open("inpt.txt") as g:
with open("inpt.txt") as g:
for line in g:
for line in g:
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
line = line.strip(
"\n"
).split(
" "
)
line = line.strip(
).split(
)
props[line[0]] = int(line[1])
props[line[0]] = int(line[1])
with open("input16.txt") as f:
with open("input16.txt") as f:
for line in f:
for line in f:
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
line = line.strip(
"\n"
).split(
" "
)
line = line.strip(
).split(
)
if
(check(line[
2
], line[
3
].strip(","))
and check(line[4], line[5].strip(",")) and check(line[6], line[7]
)):
if
all
(check(line[
i
], line[
i+1
].strip(","))
for i in range(2,7,2
)):
print line
print line
सेव किए गए Diffs
ऑरिजनल टेक्स्ट
फ़ाइल खोलें
def check(types, value): value = int(value) if types == "cats:" or types == "trees:": return props[types] < value elif types == "pomeranians:" or types == "goldfish:": return props[types] > value return props[types] == value props = {} with open("inpt.txt") as g: for line in g: line = line.strip("\n").split(" ") props[line[0]] = int(line[1]) with open("input16.txt") as f: for line in f: line = line.strip("\n").split(" ") if (check(line[2], line[3].strip(",")) and check(line[4], line[5].strip(",")) and check(line[6], line[7])): print line
परिवर्तित टेक्स्ट
फ़ाइल खोलें
def check(types, value): value = int(value) if types in ("cats:", "trees:"): return props[types] < value elif types in ("pomeranians:", "goldfish:"): return props[types] > value return props[types] == value props = {} with open("inpt.txt") as g: for line in g: line = line.strip().split() props[line[0]] = int(line[1]) with open("input16.txt") as f: for line in f: line = line.strip().split() if all(check(line[i], line[i+1].strip(",")) for i in range(2,7,2)): print line
अंतर खोजें