mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
[3.12] gh-107017: Analolgy to Pascal and C replaced. (GH-107025) (#107124)
(cherry picked from commit e59da0c4f2)
Co-authored-by: TommyUnreal <45427816+TommyUnreal@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
parent
18c68ec816
commit
e02ddb33ce
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue