mirror of
https://github.com/python/cpython.git
synced 2024-11-29 04:44:13 +08:00
gh-107017: Analolgy to Pascal and C replaced. (#107025)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
parent
08a228da05
commit
e59da0c4f2
@ -52,8 +52,8 @@ Numbers
|
||||
|
||||
The interpreter acts as a simple calculator: you can type an expression at it
|
||||
and it will write the value. Expression syntax is straightforward: the
|
||||
operators ``+``, ``-``, ``*`` and ``/`` work just like in most other languages
|
||||
(for example, Pascal or C); parentheses (``()``) can be used for grouping.
|
||||
operators ``+``, ``-``, ``*`` and ``/`` can be used to perform
|
||||
arithmetic; parentheses (``()``) can be used for grouping.
|
||||
For example::
|
||||
|
||||
>>> 2 + 2
|
||||
|
Loading…
Reference in New Issue
Block a user