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)