wklejamy.pl website for sale. You are interested in. Please contact. wklejamy@gmail.com
Click to buy coffe
Untitled
Guest 62 11th Mar, 2023
# -*- coding: utf-8 -*-
import random
us = 0
pc = random.randint(1, 3)
print("gra w kamień papier norzyce")
print("")
input(" kliknij enter aby rozpocząć")
q = 0
wyn = [0, 0]
while q == 0:
print("zasady:")
print("...................")
print("kamień - 1")
print("papier - 2")
print("norzyce - 3")
print("...................")
print('')
print('')
print('')
print("trzy czter.... r")
us = int(input("podaj liczbe od 1 do 3: "))
if us == 1 and pc == 1:
print("remis!!!!")
a = 3
elif us == 1 and pc == 2:
print("przegrałeś :)")
a = 2
elif us == 1 and pc == 3:
print("wygrałes!!!!!")
a = 1
elif us == 2 and pc == 1:
print("wygrałes!!!!!")
a = 1
elif us == 2 and pc == 2:
print("remis!!!!!")
a = 3
elif us == 2 and pc == 3:
print("przegrałeś")
a = 2
elif us == 3 and pc == 1:
print("przegrałes!!!!!")
a = 2
elif us == 3 and pc == 2:
print("wygrałeś!!!!!")
a = 1
elif us == 3 and pc == 3:
print("remis!!!!!!!")
a = 3
else:
print("")
print("")
print(" nie prawidłowa liczba")
print("")
print("")
continue
if a == 1:
wyn[1] = wyn[1] + 1
for x in range(12):
print("gratulacje pokonałes pc")
elif a == 2:
wyn[0] = wyn[0] + 1
for x in range(10):
print("komputer cie pokonał")
else:
print("co sie cieszysz???")
print("")
print("wynik: " + "pc: " + str(wyn[0]) + ' user ' + str(wyn[1]))
print("")
odpo = input(" chcesz grać dalej?? y/n ")
if odpo == "y":
continue
else:
break
print(" Game Ower")
To share this paste please copy this url and send to your friends
RAW Paste Data