From 914c65c55ddc938cf9eba1dcaf614d6ed6c35c37 Mon Sep 17 00:00:00 2001 From: Daniel Mukenya <88248852+watchout254@users.noreply.github.com> Date: Sun, 1 Oct 2023 09:22:22 +0300 Subject: [PATCH] learning --- breakconpass.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 breakconpass.py diff --git a/breakconpass.py b/breakconpass.py new file mode 100644 index 0000000..3743383 --- /dev/null +++ b/breakconpass.py @@ -0,0 +1,24 @@ +#count=1 +#while count <= 10: + #print(count) + #count += 1 + + #if count == 7: + # continue + #print("Hi") +#print("Out of loop") + +#list1 = ["hi","hello","Welcome"] +#names = ["krishnn","Ram","madhav"] +#for item in list1: +# for name in names: +# print(item,name) + # if item == "hello" and name == "Ram": + # break + # print("out from inner loop") +#print("out of outer loop") +for i in range(1,11): + if i == 7: + continue + else: + print(i)