Rock-paper-scissors: Difference between revisions
→{{header|Python}}: Output of python code.
mNo edit summary |
(→{{header|Python}}: Output of python code.) |
||
Line 246:
print winner, "wins!"
Output, where player always chooses Rock:
<pre>!504 #5 j0 ?0 $ ./rps.py
rock
Computer picked scissors rock wins!
rock
Computer picked paper paper wins!
rock
Computer picked paper paper wins!
rock
Computer picked paper paper wins!
rock
Computer picked paper paper wins!</pre>
|