<jupyter_start><jupyter_text>what is LOOPS ?
 1.  loop   are repeated  lines of code execution until the statement coming false.
 2.  loops has several types.
  Types of loops in python .<jupyter_code>i=0

while i<5:
    print("harry " + str(i))
    i=i+1
i=0

while i<=5:  
    print(i)
    i=i+1
i=[1,2,5]

for item in i:
    print(item)
for i in range(0,8,2):   # start ,stop , step size
    print(i)
# for with else

for i in range(10):   
    print(i)

else:  # note that else is optional.
    print("done")

# loop exhaust at 10 so else is printing. # 
# break statements

for i in range(10):   
    print(i)
    if i ==5:  
        break

else:  
    print("done")

# continue statement 

for i in range(10):  
    if i == 5:  
        continue
    print(i)<jupyter_output>0
1
2
3
4
6
7
8
9<jupyter_text>PRACTISE SET<jupyter_code># practise set
num= int(input("enter the given number: "))

for i in range(1,11):  
    print(str(num) + str("X") +str(i)+str(" = ") + str(num*i))
    
    
# PR 2

list=["harry","sohan","sachin","rohan"]

for name in list:  
    if name.startswith("s"): 
        print("helloo " + name)
# pr 3  related q1 through while loop 

num= int(input("enter the given number "))

i=1
while i<11:  
    print(str(num)+str("X")+str(i)+str(" = ")+ str(num*i))
    i=i+1
# factorail pr 

num=int(input("enter the number:  "))

factorail=1

for i in range(1,num+1):   
    factorail=factorail * i

print(f"the factorial of {num} is {factorail}")
# print star using for looo
i=4
for i in range(4):   
    print("*" * i)<jupyter_output>*
**
***
{'fraction_non_alphanumeric': 0.14469650521152666, 'fraction_numerical': 0.029429797670141016, 'mean_word_length': 2.5324675324675323, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '601987', 'license': 'Apache-2.0', 'n_tokens_mistral': 696, 'n_tokens_neox': 641, 'n_words': 182, 'path': 'codeMania-python-begginer/07_LOOPs.ipynb', 'repo_name': 'JayramMardi/codeMania', 'size': '1631'}