# printing the table of 3

v=1

while (v<=10):
    print(3*v)
    # v++ is invalid as ++ is not any operator in python
    v=v+1
print("loop ended")


#######################################################

#for loop and using >>in<<

for symbol in "internshala":
    print(symbol)



# s0 for loop start from index 0 of the element and work till the end
#also auto incremented




#######################################################



#using else with loops

for symbol in "internshala":
    print(symbol)

else:                                   # we can do same for while loop
    print(" we are inside the loop and all elementd are printed")

print("loop ended")
