diff options
author | Jovina | 2011-08-03 12:14:11 +0530 |
---|---|---|
committer | Jovina | 2011-08-03 12:14:11 +0530 |
commit | 474ae08f92ff02553747a014883b51062d8c49cf (patch) | |
tree | 589f3dc7f61d9abf3f190ef943fc17c024e1424e | |
parent | ff59820c680fef049f479d4b1bdf9bb01886d95c (diff) | |
download | st-scripts-474ae08f92ff02553747a014883b51062d8c49cf.tar.gz st-scripts-474ae08f92ff02553747a014883b51062d8c49cf.tar.bz2 st-scripts-474ae08f92ff02553747a014883b51062d8c49cf.zip |
Minor change to scipt 'conditionals'.
-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. |