diff options
-rw-r--r-- | conditionals/script.rst | 2 | ||||
-rw-r--r-- | conditionals/slides.org | 4 | ||||
-rw-r--r-- | conditionals/slides.tex | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/conditionals/script.rst b/conditionals/script.rst index a9303bb..edfed2d 100644 --- a/conditionals/script.rst +++ b/conditionals/script.rst @@ -307,7 +307,7 @@ Here are some self assessment questions for you to solve 1. Use conditional statements for the following. Given a variable ``time``, print ``Good Morning`` if it is less - than 12, otherwise ``Hello``. + than 12, otherwise print ``Hello``. #. Convert the if else ladder below into a ternary conditional diff --git a/conditionals/slides.org b/conditionals/slides.org index feb271e..b44bcdb 100644 --- a/conditionals/slides.org +++ b/conditionals/slides.org @@ -108,8 +108,8 @@ Spoken tutorial on - * Evaluation 1. Use conditional statements for the following. - Given a variable ``time``, print ``Good Morning`` if it is less - than 12, otherwise ``Hello``. + Given a variable ``time'', print ``Good Morning'' if it is less + than 12, otherwise print ``Hello''. 2. Convert the if else ladder below into a ternary conditional statement. diff --git a/conditionals/slides.tex b/conditionals/slides.tex index 43f899a..f8d352b 100644 --- a/conditionals/slides.tex +++ b/conditionals/slides.tex @@ -170,7 +170,7 @@ else: \begin{enumerate} \item Use conditional statements for the following. Given a variable ``time'', print ``Good Morning'' if it is less - than 12, otherwise ``Hello''. + than 12, otherwise print ``Hello''. \vspace{10pt} \item Convert the if else ladder below into a ternary conditional statement. |