# x=10
# print(x)
# print(x)


# usings loops

# for j in range(0,5):
#     print(x)

# for h in range(0,4):
#     print(x/2)


# x = 0
# for j in range(1,11):
#     x=x+1
#     print(x*2)

# sol 1:for even numbers

# x=10
# for j in range(1,31):
#     if j%2 == 0:
#         print(j)

# sol 2:
# x=10
# for l in range(2,31,2):
#     print(l)

# sol 1:for odd numbers

# for l in range(1,31,2):
#     print(l)


# quote ="no mask, no entry"
# for val in quote[0:7]:#no mask
#     print(val)

# quote ="no mask, no entry"
# for val in range(0,7):#no mask
#     print(quote[val])

# quote2 = "Time is more precious than money"
# for clk in range(0,32,2):
#     print(quote2[clk])

# quote2 = "Time is more precious than money"
# for clk in range(0,len(quote2),2):
#     print(quote2[clk])


# # for loop
# x = 10
# print(x)
# print(x)
# print(x)
# print(x)
# print(x)

# x = 10
# for j in range(0,7):
#     print(x)

# x=10
# for j in range(1,11):
#     print(j*2)

# x=0
# for j in range(1,11):
#     x=x+1
#     print(x*2)

# finding even numbers
# x=10
# for j in range(1,31):
#     if j%2 == 0:
#         print(j)

#finding odd numbers

# for j in range(1,31):
#     if j%2 == 1:
#         print(j)

#another method

x=10
# for j in range(2,31,2):
#     print(j)
#
# for j in range(1,31,3):
    # print(j)

#second varient

# quote = "No Mask,No Entry"
# for val in quote:
    # print (val)

# quote = "No Mask,No Entry"
# for val in range(0,7):
#     print(quote[val])
#
# quote2="Time is more precious than money"
# for clk in range(0,32,3):
#     print(quote2[clk])
#
# for clk in range(0,len(quote2),2):
#     print(quote2[clk])

# numbers="1234"
# for l in numbers:
    # print(l)

# numbers="1234"
# for l in numbers:
#     if  l=="3":
#         print("string has 3 number")

# numbers="1234"
# for l in numbers:
#     print(l)
#     if l=="6":
#         print("string has 3 number")
#     else:
#         print("string does not have 3 number")
#         break


# str1="ABIOPLWHZTERFH"
# for l in str1:
#     print(l)
#     if l=="L":
#         print("breaking at L",l)
#         break

# str1="ABIOPLWHZTERFH"
# for l in str1:
#     print("running the loop for",l)

# str1="ABIOPLWHZTERFH"
# for l in str1:
#     if l=="H":
#         continue
#     print("running the loop for",l)
#     print("JAV")


# numbers="124"
# for l in numbers:
#     print(l)

# for l in numbers:
#     if l=="3":
#         print("it contains 3 number")
#     else:
#         print("it does not have 3")
#     break


# stel2="ABCDEFHIJKL"
# for l in stel2:
#     print(l)
#     if l=="H":
#         print("breaking at L",l)
#         break

# str1="ABIOPLWHZTERFH"
# for l in str1:
#     print(l)
#     if l=="L":
#         print("breaking at L",l)
#         break


