diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-23 13:59:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-23 13:59:50 (GMT) |
commit | e02ddb33ce4b576e83170dd773e003a2936c7821 (patch) | |
tree | e7ff63cfc785ff14d0bd9c389e0ab13c3cf5936d /Doc/tutorial | |
parent | 18c68ec81663bee058d28f9a223f5b28b0a8d4e4 (diff) | |
download | cpython-e02ddb33ce4b576e83170dd773e003a2936c7821.zip cpython-e02ddb33ce4b576e83170dd773e003a2936c7821.tar.gz cpython-e02ddb33ce4b576e83170dd773e003a2936c7821.tar.bz2 |
[3.12] gh-107017: Analolgy to Pascal and C replaced. (GH-107025) (#107124)
(cherry picked from commit e59da0c4f283b966ccb175fb94460f58211a9704)
Co-authored-by: TommyUnreal <45427816+TommyUnreal@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/introduction.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index ebc2e91..4b886f6 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -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 |