From 4701b2ac44b5e583ce50b68fd6e83f5b3ec2dadc Mon Sep 17 00:00:00 2001 From: Mehul Y Khandhadiya <53016215+mehulk-5245@users.noreply.github.com> Date: Thu, 1 Oct 2020 13:22:57 +0530 Subject: [PATCH] Update LoopControl.py --- LoopControl.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/LoopControl.py b/LoopControl.py index 7b41ece..fa29170 100644 --- a/LoopControl.py +++ b/LoopControl.py @@ -1,15 +1,11 @@ - - - - def main(): - word="python" + word = "python" for letter in word: - if(letter=='t'): + if(letter == 't'): pass - print(" blcok is padded") + print(" block is padded") print(letter) - print("progam end") + print("program end") if __name__ == '__main__':main()