Skip to content

Rock Paper Scissor has a bug #1

@malhejaily

Description

@malhejaily

Hi
allow me first to thank you for this project. I have started learning Python and I came cross your code but find out that rock paper scissor is not working when you choose s for scissor

Select a move ('r' for rock/'p' for paper/'s' for scissor): s
Computer's Move: rock
Traceback (most recent call last):
File "/home/xxxxxx/playground/Python/Top-10-Easy-Python-Project-Ideas-For-Beginners/rock_paper_scissor.py", line 29, in
if 'r' in move or 'p' in move or 's' in move()

as part of my learning journey I will try to fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions