From 474ae08f92ff02553747a014883b51062d8c49cf Mon Sep 17 00:00:00 2001 From: Jovina Date: Wed, 3 Aug 2011 12:14:11 +0530 Subject: Minor change to scipt 'conditionals'. --- conditionals/script.rst | 2 +- conditionals/slides.org | 4 ++-- 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. -- cgit