Created
August 30, 2016 20:24
-
-
Save PeterJatschka/e23cc3d6370e2f5a3101d4e51a3fad90 to your computer and use it in GitHub Desktop.
This file contains 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
secret=8 #geheime zahl definiert | |
guess=int(raw_input("Guess my secret number: ")) #abfrage tipp | |
if guess==secret: #entspricht eingabe der geheimen zahl, dann... | |
print "Congratulations, you are right!" | |
else: #entspricht eingabe nicht der geheimen zahl, dann... | |
print "Wrong! The number was",secret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment