Skip to content

Instantly share code, notes, and snippets.

@PeterJatschka
Created August 30, 2016 20:24
Show Gist options
  • Save PeterJatschka/e23cc3d6370e2f5a3101d4e51a3fad90 to your computer and use it in GitHub Desktop.
Save PeterJatschka/e23cc3d6370e2f5a3101d4e51a3fad90 to your computer and use it in GitHub Desktop.
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