<jupyter_start><jupyter_text><jupyter_code>#wap to print natural numbers from 1 to n, n is enterd by the user.
n=int(input("enter the number"))

for num in range(1,n+1,1):
 print(num)


#wap to print table of n,where n is enterd by  the user
n= int(input(" enter the number "))
for i in range(1,11):  #loop use
  print(n,'x',i ,'=',n*i)
#sum of n natural  numbers where n is enter by the user:
n=int(input("enter the value of n  :"))

sum = 0
i = 1
while i<=n:
  sum = sum+i
  i = i+1

print("the sum of natural number is", sum)
#wap to print thr factorial of the given numbers, where number is enterd by the user:
i=int(input("enter a number= :"))
fac=1
while(i>0):
  fac=fac*i
  i=i-1
  print("factorial",i,fac)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14131897711978467, 'fraction_numerical': 0.017496635262449527, 'mean_word_length': 4.430656934306569, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '413593', 'license': 'MIT', 'n_tokens_mistral': 299, 'n_tokens_neox': 291, 'n_words': 106, 'path': 'assinment1.ipynb', 'repo_name': 'Gyanajitdas/work', 'size': '743'}