Python Project
Python Project
•sa..• •. ....•
"""""' . •.
••
-- - ~ • •
.----
·- --
··--==
•
• •
•
4. INPUT 6
5. OUTPUT 7
6. BIBLI OGRAPHY 8
0
0
•
ACKNOWLEDGEMENT
1 would /1/ce to talce this opportunity to
extend my sincere gratitude and
appreciation to my computer lab teacher
Mr./Mrs. Abld.laslaa Dubey for providing
guidance and support throughout the
process of completing my computer
project for school.
-
,1, r;7Y?' •
,,, ~
-
C
~
•i V Rock-Paper-Scissors Game Python Project
II' The object of the rock-paper-scissor python project
is to build a game for a single player that plays
with a computer, a101where, and anytime. Th.is
project is base on the rules that:
~--
~
,t,
0
c;;"i'
,1~~7Y?' 0
•
~,, ~
~~
C, WIN LOSE
)_.....,.
) I
, t>
)
)
:
._____,
~~~~'
- --- ,,.._, ~
~
~ ,t~
~~ ,/. .•.
0
0
,~,.~ .JV ~t'
•
'1" ,;~p' •
"t' ~
N
V~ Rock paper scissors (also
C, known by several other names
and word orders, see § Names)
is an intransitive hand game,
usually played between two
people, in which each player
simultaneously forms one of
three shapes with an
outstretched hand. These
shapes are "rock" (a closed fist), d
"paper" (a flat hand}, and ~ "
" ''"
import random
# Determine winner
result = determine_winner(user_choice, computer_choice)
print (result)
' u rt .stat..'li..,ore,jToU'.co11,
./. tt 1