From af0d99b9414cd3571942363911437fe0bc0c5186 Mon Sep 17 00:00:00 2001 From: Vivek Vashist Date: Thu, 2 May 2019 15:12:57 +0930 Subject: [PATCH] Fixed code. --- .../110-control-statements-looping/10-if-else-elif.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/content/02-introduction-to-python/110-control-statements-looping/10-if-else-elif.md b/website/content/02-introduction-to-python/110-control-statements-looping/10-if-else-elif.md index 1aebc97..509d999 100644 --- a/website/content/02-introduction-to-python/110-control-statements-looping/10-if-else-elif.md +++ b/website/content/02-introduction-to-python/110-control-statements-looping/10-if-else-elif.md @@ -182,7 +182,8 @@ Hello And vice-versa. ```python ->>> a = True +>>> a = False +>>> if a: ... print("Hello") ... else: ... print("Goodbye") @@ -226,4 +227,4 @@ You can have as many `elif` statements in your code as you want. They get evalua ... print("Dunno") ... Less than 10 -``` \ No newline at end of file +```