# Python file Created By Bibhuti


# for i in range(1,5) :   # loop
#     print(i)
#
# print("Value outside the loop ",i);

# for i in [1,2,8,5]:
#     print(i);

 #for i in (1,2,8,5):
     #print(i);

# for i in {1,2,8,5}:
#     print(i);

# for i in {1:2,"a":"Value of a",4:3}:
#     print(i);

# for i in  "Python" :
#     print(i)

# for i in  1,2,3 :
#     print(i)

# a=1,2,3;
# print(a);
# print(type(a))

# a=range(1,5);   # It will store the value from 1 to 5-1=4
# print(type(a));

# list=["abc","defg"];

# for i in range(len(list)):  # value of i itertate from 0 to length of the list -1
#     print(i)



# for i in range(0,4):
#     print(i);
#     break;
# else:
#     print("else")



"""
While Loop
"""

# a=0;
# while a<=5:
#     print(a);
#     a=a+1;

# a=[1,2,"Python","Java","JS"];
# temp=0;
# while temp<a.__len__() :
#     print(a[temp]);
#     temp=temp+1;

# a=0;
# while a<=3:
#     print(a);
#     a=a+1;
# else:
#     print("While Loop Task Finished");

# a=0;
# while a<=3:
#     print(a);
#     a=a+1;
#     break;
# else:
#     print("While Loop Task Finished");

# for i in range(1,5):
#     if i==2:
#         continue; # continue will skip current execution only not whole thing
#     print(i);

# for i in range(1,4):
#     if i==2:
#         pass
#     print(i);
