Skip to content

Added built in method upper() for string #1714

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

Merged
merged 5 commits into from
Apr 19, 2023

Conversation

AtmegaBuzz
Copy link
Contributor

@AtmegaBuzz AtmegaBuzz commented Apr 18, 2023

Problem

Python supports .upper() method for strings which returns all chars uppercased

Description

str.upper(): returns all chars upper cased

Type of change

  • New feature (non-breaking change which adds functionality)

System Configuration:

  • Pop OS 22.04

Implementation Screenshot

image

@certik
Copy link
Contributor

certik commented Apr 18, 2023

Thanks @AtmegaBuzz for the PR, I think it looks good.

You need to update test results using ./run_tests -u and commit the changes. Then the CI should pass.

@AtmegaBuzz
Copy link
Contributor Author

@certik I've ran the test command and it generated lot of files. Should i push them ?
image

@ubaidsk
Copy link
Collaborator

ubaidsk commented Apr 19, 2023

Should i push them ?

Yes, we have to commit and push them.

@AtmegaBuzz
Copy link
Contributor Author

Thanks @Shaikh-Ubaid :)

Copy link
Collaborator

@ubaidsk ubaidsk left a comment

Choose a reason for hiding this comment

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

Amazing work! Thank you so much for this!

@AtmegaBuzz
Copy link
Contributor Author

Thankyou folks for helping me. I will continue to contribute and hope to learn lot of thing from you all 😊

@certik certik merged commit 825364d into lcompilers:main Apr 19, 2023
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.

4 participants