From f07a19c7f7627343b1683e53d7b92a7a00c643b0 Mon Sep 17 00:00:00 2001 From: Tomas Smolik Date: Sat, 22 Jul 2023 14:44:43 +0200 Subject: [PATCH 1/3] Analolgy to Pascal and C replaced. Knowledge of arithmetic is more accessible than knowledge of other programming languages. An analogy is, therefore, more accessible. --- Doc/tutorial/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index ebc2e9187534b4..632eb03200f5c2 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 ``/`` work similarly to how you perform +arithmetic operations in mathematics; parentheses (``()``) can be used for grouping. For example:: >>> 2 + 2 From 1c76c37cde7611b4d7095cd429c12b2223ddbce8 Mon Sep 17 00:00:00 2001 From: Tomas Smolik Date: Sat, 22 Jul 2023 15:59:13 +0200 Subject: [PATCH 2/3] Removed trailing whitespace. --- Doc/tutorial/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 632eb03200f5c2..8a7da8c539bf2a 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -52,7 +52,7 @@ 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 similarly to how you perform +operators ``+``, ``-``, ``*`` and ``/`` work similarly to how you perform arithmetic operations in mathematics; parentheses (``()``) can be used for grouping. For example:: From dbbf5949f9948e19e23f8229adf693a9ca9751bb Mon Sep 17 00:00:00 2001 From: TommyUnreal <45427816+TommyUnreal@users.noreply.github.com> Date: Sun, 23 Jul 2023 10:15:39 +0200 Subject: [PATCH 3/3] Changed the wording to be more condensed. Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> --- Doc/tutorial/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 8a7da8c539bf2a..4b886f604aca23 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 similarly to how you perform -arithmetic operations in mathematics; parentheses (``()``) can be used for grouping. +operators ``+``, ``-``, ``*`` and ``/`` can be used to perform +arithmetic; parentheses (``()``) can be used for grouping. For example:: >>> 2 + 2