From 607ab9f249f8cbb73903e0d31961ef557a6d6d19 Mon Sep 17 00:00:00 2001 From: Amritpal Singh Date: Sat, 29 Oct 2022 18:43:17 +0530 Subject: [PATCH] Update python2.md python2: Add : to end of the declaration of conditional-expressions (a colon is required at the beginning of every block of code) --- python2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python2.md b/python2.md index c3c70f0..2d02ca5 100644 --- a/python2.md +++ b/python2.md @@ -24,9 +24,9 @@ Python is a very popular general-purpose programming language which was created When ever you want to perform a set of operations based on a condition IF-ELSE is used. ```py -if conditional-expression +if conditional-expression: #code -elif conditional-expression +elif conditional-expression: #code else: #code