Skip to content

Update README with unary minus clarification#359

Merged
fey merged 1 commit intohexlet-basics:mainfrom
NikitaSudaev:patch-2
Feb 9, 2026
Merged

Update README with unary minus clarification#359
fey merged 1 commit intohexlet-basics:mainfrom
NikitaSudaev:patch-2

Conversation

@NikitaSudaev
Copy link
Contributor

Clarified explanation of unary minus application in expressions with negative numbers and adjusted example outputs. Priority from higher to lower:
() : braces
** : exponentiation
+x, -x : unary plus & minus
*, /, //, % : multiplication, division, floor division, remainder) +, - : plus & minus

Возможно формулировка недостаточно понятна, но правила и примеры стоит исправить

Clarified explanation of unary minus application in expressions with negative numbers and adjusted example outputs.
Priority from higher to lower:
() : braces
** : exponentiation
+x, -x : unary plus & minus
*, /, //, % : multiplication, division, floor division, remainder)
+, - : plus & minus
@fey fey merged commit 7298527 into hexlet-basics:main Feb 9, 2026
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