Skip to content

Instantly share code, notes, and snippets.

View DieJustizINTEGER's full-sized avatar

DieJustizINTEGER

View GitHub Profile
@DieJustizINTEGER
DieJustizINTEGER / RockPaperScissors.py
Created March 24, 2021 04:06
Rock, Paper, Scissors (first code :D) -> Python
import random
game = ['Stein', 'Schere', 'Papier'] # [rock, scissors, paper]
result1 = random.choice(game)
result2 = random.choice(game)
print(result1 + ' | ' + result2)
if result1 == result2:
print('Unentschieden!') # draw
elif result1 == 'Stein':
if result2 == 'Schere':