-
-
Notifications
You must be signed in to change notification settings - Fork 632
Add Palindromic Number to Swift #4033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Palindromic Number to Swift #4033
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @KaalidArare! Thanks for contributing to this project! We are a rather small team, so it may take some time to process this request. In the meantime, there are several ways you can make yourself a part of The Renegade Coder community. For instance, you can:
- Subscribe to the monthly newsletter
- Become a patron
- Join us on Discord
- And, check out the rest of the list which includes links to The Renegade Coder YouTube channel and Twitter account
Thanks for your help!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KaalidArare In order to make a pull request, you need to log an issue first. This is all spelled out in our Contributing Guide. Also, please refer to the project documentation. This project is supposed to accept a command line argument
| // Test cases | ||
| print(isPalindrome(input: "5")) // returns true | ||
| // print(isPalindrome(input: "2442")) // Returns true | ||
| // print(isPalindrome(input: "232")) // Returns true | ||
| print(isPalindrome(input: "5215")) // Returns false | ||
| print(isPalindrome(input: "521")) // Returns false | ||
| print(isPalindrome(input: "")) // No output | ||
| print(isPalindrome(input: "a")) // Outputs usage message | ||
| // print(isPalindrome(input: "-7")) // Outputs usage message | ||
| // print(isPalindrome(input: "5.41")) // Outputs usage message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove these. The code is automatically tested by our workflows.
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
rzuckerm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, @KaalidArare . Thanks for your contribution!
I went ahead and created the issue for you. However, in the future, I'd appreciate it if you would create the issue first before doing a PR. This is described in our contributing guide
Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder!
For simplicity, please make sure that your pull request includes one and only one contribution.
Please fill one of the sections below as applicable.
Please also add any other relevant information to the Notes section at the bottom.
You may delete or just ignore any other sections.
For more information please refer to our contributing documentation
I Am Adding a New Code Snippet in an Existing Language
Add {PROJECT} in {LANGUAGE}format