Skip to content

Comments

Fix bugs in pull_requests.rb#11

Open
yunuscanunal wants to merge 1 commit intolab2023:masterfrom
yunuscanunal:master
Open

Fix bugs in pull_requests.rb#11
yunuscanunal wants to merge 1 commit intolab2023:masterfrom
yunuscanunal:master

Conversation

@yunuscanunal
Copy link

  • Fixed the conditional check to use == for equality instead of assignment, and replaced put with puts for output. The block syntax was also corrected from curly braces to end.
  • Corrected the reversal of the number 12 by converting it to a string before calling reverse, ensuring the intended output.

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.

1 participant