Created
July 28, 2017 21:37
-
-
Save Der-Eddy/dad2737e5e57a71383db35792ee5e070 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
geheimnis = 1337 | |
versuch = 0 | |
zaehler = 0 | |
while versuch != geheimnis: | |
versuch = int(input("Raten Sie: ")) | |
if versuch < geheimnis: | |
print("zu klein") | |
if versuch > geheimnis: | |
print("zu groß") | |
zaehler = zaehler + 1 | |
print("Super, Sie haben es in ", zaehler, "Versuchen geschafft!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment