Skip to content

Chore/pep8 style#9

Open
sryvcr wants to merge 7 commits intocamigomezdev:mainfrom
sryvcr:chore/pep8-style
Open

Chore/pep8 style#9
sryvcr wants to merge 7 commits intocamigomezdev:mainfrom
sryvcr:chore/pep8-style

Conversation

@sryvcr
Copy link
Copy Markdown

@sryvcr sryvcr commented May 27, 2023

  • PEP8 style applied
  • Logic fixed

Copy link
Copy Markdown
Owner

@camigomezdev camigomezdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work :)

arrayNumber[numero[x]] = True

numero = list(numero)
def guess(self, number: str = None) -> Union[bool, str]:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puedes intentar darle un nombre mas descriptivo a esta función? además te recomiendo que solo tengas un tipo de valor a retornar (string o boolean), así será mas facil testear la función

Comment on lines +26 to +28
result_x = ""
result__ = ""
number = list(number)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puedes intentar dar nombres mas descriptivos a estas variables?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants