From 4a710abcdca97bfec2a101a509446d1da447a803 Mon Sep 17 00:00:00 2001
From: Habiba Sorour
Date: Tue, 11 Aug 2026 20:19:22 +0300
Subject: [PATCH 1/4] fixed the error
---
source/ch4_conditionals.ptx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/source/ch4_conditionals.ptx b/source/ch4_conditionals.ptx
index 1f99114..0cd7e57 100644
--- a/source/ch4_conditionals.ptx
+++ b/source/ch4_conditionals.ptx
@@ -5,6 +5,7 @@
Conditionals
Using Conditional Statements in Java
+
conditional statements
Conditional statements in Python and Java are very similar.
In Python we have three patterns:
@@ -50,7 +51,8 @@ if score >= 90: # Note the colon at the end of the line
In Java, the parentheses around the condition are required because it is technically a function that evaluates to True or False.
-
+
+
Using the if - else Statement
From 9013d7d95f1d07db5579c684f5f93595da24c65a Mon Sep 17 00:00:00 2001
From: Habiba Sorour
Date: Tue, 11 Aug 2026 21:57:48 +0300
Subject: [PATCH 2/4] fixed
---
source/ch4_conditionals.ptx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/ch4_conditionals.ptx b/source/ch4_conditionals.ptx
index 0cd7e57..08463b3 100644
--- a/source/ch4_conditionals.ptx
+++ b/source/ch4_conditionals.ptx
@@ -51,7 +51,7 @@ if score >= 90: # Note the colon at the end of the line
In Java, the parentheses around the condition are required because it is technically a function that evaluates to True or False.
-
+
Using the if - else Statement
From 14be3761b4a4c8e39594ac807dedf6bc814f5734 Mon Sep 17 00:00:00 2001
From: Habiba Sorour
Date: Tue, 11 Aug 2026 22:45:53 +0300
Subject: [PATCH 3/4] added a subsection
---
source/ch4_conditionals.ptx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/source/ch4_conditionals.ptx b/source/ch4_conditionals.ptx
index 08463b3..0522a87 100644
--- a/source/ch4_conditionals.ptx
+++ b/source/ch4_conditionals.ptx
@@ -8,10 +8,12 @@
conditional statements
Conditional statements in Python and Java are very similar.
- In Python we have three patterns:
+ In Python we have three patterns/
-
+
+
+ Using the if Statement
shows how the simple if statement is written in Python.
@@ -51,7 +53,7 @@ if score >= 90: # Note the colon at the end of the line
In Java, the parentheses around the condition are required because it is technically a function that evaluates to True or False.
-
+
Using the if - else Statement
From 3b997c6f6c1055cfdfa29068610f3755b0d412c8 Mon Sep 17 00:00:00 2001
From: Habiba Sorour
Date: Tue, 11 Aug 2026 22:51:02 +0300
Subject: [PATCH 4/4] fixed a dot
---
source/ch4_conditionals.ptx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/ch4_conditionals.ptx b/source/ch4_conditionals.ptx
index 0522a87..623587a 100644
--- a/source/ch4_conditionals.ptx
+++ b/source/ch4_conditionals.ptx
@@ -8,7 +8,7 @@
conditional statements
Conditional statements in Python and Java are very similar.
- In Python we have three patterns/
+ In Python we have three patterns.