Diff
checker
टेक्स्ट
टेक्स्ट
छवियां
दस्तावेज़
Excel
फ़ोल्डर्स
Legal
Enterprise
डेस्कटॉप
मूल्य
साइन इन करें
Diffchecker डेस्कटॉप डाउनलोड करें
टेक्स्ट की तुलना करें
दो टेक्स्ट फ़ाइलों के बीच अंतर ढूंढें
उपकरण
इतिहास
रियल-टाइम एडिटर
अपरिवर्तित संक्षिप्त करें
लाइन रैप बंद
लेआउट
विभाजित
संयुक्त
परिवर्तन हाइलाइट करें
स्मार्ट
शब्द
अक्षर
सिंटैक्स हाइलाइटिंग
सिंटैक्स चुनें
अनदेखा करें
टेक्स्ट बदलें
पहले अंतर पर जाएँ
इनपुट संपादित करें
Diffchecker Desktop
Diffchecker चलाने का सबसे सुरक्षित तरीका। Diffchecker Desktop ऐप पाएं: आपके diffs कभी आपके कंप्यूटर से बाहर नहीं जाते!
Desktop पाएं
Untitled Diff
बनाया गया
4 वर्ष पहले
Diff कभी समाप्त नहीं होता
साफ़
निर्यात करें
शेयर करें
समझाएं
15 हटाए गए
लाइनें
कुल
हटाया गया
अक्षर
कुल
हटाया गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
48 लाइनें
सभी को कॉपी करें
10 जोड़े गए
लाइनें
कुल
जोड़ा गया
अक्षर
कुल
जोड़ा गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
46 लाइनें
सभी को कॉपी करें
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
#
j
aka to liczba nowa
edycja
#
J
aka to liczba nowa
próba
import random
import random
def powitanie():
def powitanie():
print(
print(
"""
"""
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
Wita
m
w
grze
'Jaka to liczba'
Wita
j
w
programie
'Jaka to liczba'
Twoim zadaniem jest odgadnięcie liczby
wylosowanej przez komputer
""")
""")
def yes_or_no(question):
def yes_or_no(question):
response = None
response = None
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
while response not in
("t", "n"
):
while response not in
('t', 'n'
):
respon
s
e = input(question).lower()
respon
e = input(question).lower()
return response
return response
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
def ask_number(question, low, high):
def ask_number(question, low, high):
response = None
response = None
while response not in range(low, high):
while response not in range(low, high):
response = int(input(question))
response = int(input(question))
return response
return response
def main():
def main():
powitanie()
powitanie()
yes_or_no("Czy jesteś gotowy?")
yes_or_no("Czy jesteś gotowy?")
guess = ask_number("Podaj liczbę: ", 1, 100)
guess = ask_number("Podaj liczbę: ", 1, 100)
tries = 10
tries = 10
number = random.randint(1, 100)
number = random.randint(1, 100)
while guess != number:
while guess != number:
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if tries
=
= 0:
if tries
<
= 0:
break
break
if guess < number:
if guess < number:
print("Za mała...")
print("Za mała...")
elif guess > number:
elif guess > number:
print("Za duża...")
print("Za duża...")
else:
else:
print("Zgadłeś!")
print("Zgadłeś!")
guess = ask_number("Podaj liczbę: ", 1, 100)
guess = ask_number("Podaj liczbę: ", 1, 100)
tries -= 1
tries -= 1
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if guess == number:
if guess == number:
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
print("Zgadłeś
.
Chodziło mi o liczbę: ", guess)
print("Zgadłeś
!
Chodziło mi o liczbę: ", guess)
elif tries
=
= 0:
elif tries
<
= 0:
print("
Wyczerpałeś wszystkie
próby!")
print("
Skończyły ci się
próby!")
main()
main()
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
input("\n\nAby zakończyć
program
naciśnij enter.")
input("\n\nAby zakończyć
naciśnij enter.")
सेव किए गए Diffs
ऑरिजनल टेक्स्ट
फ़ाइल खोलें
# jaka to liczba nowa edycja import random def powitanie(): print( """ Witam w grze 'Jaka to liczba' Twoim zadaniem jest odgadnięcie liczby wylosowanej przez komputer """) def yes_or_no(question): response = None while response not in("t", "n"): response = input(question).lower() return response def ask_number(question, low, high): response = None while response not in range(low, high): response = int(input(question)) return response def main(): powitanie() yes_or_no("Czy jesteś gotowy?") guess = ask_number("Podaj liczbę: ", 1, 100) tries = 10 number = random.randint(1, 100) while guess != number: if tries == 0: break if guess < number: print("Za mała...") elif guess > number: print("Za duża...") else: print("Zgadłeś!") guess = ask_number("Podaj liczbę: ", 1, 100) tries -= 1 if guess == number: print("Zgadłeś. Chodziło mi o liczbę: ", guess) elif tries == 0: print("Wyczerpałeś wszystkie próby!") main() input("\n\nAby zakończyć program naciśnij enter.")
परिवर्तित टेक्स्ट
फ़ाइल खोलें
# Jaka to liczba nowa próba import random def powitanie(): print( """ Witaj w programie 'Jaka to liczba' """) def yes_or_no(question): response = None while response not in ('t', 'n'): respone = input(question).lower() return response def ask_number(question, low, high): response = None while response not in range(low, high): response = int(input(question)) return response def main(): powitanie() yes_or_no("Czy jesteś gotowy?") guess = ask_number("Podaj liczbę: ", 1, 100) tries = 10 number = random.randint(1, 100) while guess != number: if tries <= 0: break if guess < number: print("Za mała...") elif guess > number: print("Za duża...") else: print("Zgadłeś!") guess = ask_number("Podaj liczbę: ", 1, 100) tries -= 1 if guess == number: print("Zgadłeś! Chodziło mi o liczbę: ", guess) elif tries <= 0: print("Skończyły ci się próby!") main() input("\n\nAby zakończyć naciśnij enter.")
अंतर खोजें