<jupyter_start><jupyter_text><jupyter_code>eve=[i for i in range(0,11,2)]
print(eve)
for i in range(1, 5):
    for j in range(1,i+1):
         print(i, end=' ')
    print()
#program for pattern printing using for_loop
for a in range(1,6):
  for b in range(1,a+1):
    print(b,end=" ")
  print("")

for a in range(6,1,-1):
  for b in range(1,a):
    print(b,end=" ")
  print("")
#program for pattern printing using list
list1=[]            
for i in range(1,6):
  list1.append('#'*i)
print('\n'.join(list1))
list1=[]
for i in range(6,0,-1):
  list1.append('#'*i)
print('\n'.join(list1))
num=int(input("enter the number of rows"))
for i in range(0,num):
  for k in range(0,num-i- 1):
    print(end=" ")
  for j in range(0,i+1):
    print(j,end=" ")
  print()
def pattern(n):
      for i in range(0, n):
           for j in range(0, i):
                print("* ", end="")
           print("\r")
      for i in range(n, 0 , -1):
          for j in range(0, i ):
               print("* ", end="")
          print("\r")
 
pattern(10)<jupyter_output>* 
* * 
* * * 
* * * * 
* * * * * 
* * * * * * 
* * * * * * * 
* * * * * * * * 
* * * * * * * * * 
* * * * * * * * * * 
* * * * * * * * * 
* * * * * * * * 
* * * * * * * 
* * * * * * 
* * * * * 
* * * * 
* * * 
* * 
*
{'fraction_non_alphanumeric': 0.23346007604562738, 'fraction_numerical': 0.029657794676806085, 'mean_word_length': 1.8733624454148472, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '432520', 'license': 'Apache-2.0', 'n_tokens_mistral': 567, 'n_tokens_neox': 559, 'n_words': 115, 'path': 'ForLoop.ipynb', 'repo_name': 'akankshawaghmare/Microspectra', 'size': '1315'}