Skip to content

Add modulus assignment operator explanation to Assignment Operators section#28

Open
vivek-s-soni wants to merge 1 commit intopanaversity:mainfrom
vivek-s-soni:patch-1
Open

Add modulus assignment operator explanation to Assignment Operators section#28
vivek-s-soni wants to merge 1 commit intopanaversity:mainfrom
vivek-s-soni:patch-1

Conversation

@vivek-s-soni
Copy link
Copy Markdown

This PR adds a brief explanation and example for the modulus assignment operator (%=) in the Assignment Operators section.

The addition clarifies that x %= y is equivalent to x = x % y and helps improve the completeness and clarity of the lesson for beginners and students.

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