<jupyter_start><jupyter_text>Decorator-Fibonacci<jupyter_code>def inpnum(f):
  def fibnum(x):
    return f(x)
  return fibnum
  
@inpnum
def fibonacci(n):
  a=0
  b=1
  sum=0
  count=1
  print("Fibonacci Series",end=",")
  while count<=n:
    print(sum,end=",")
    count+=1
    a=b
    b=sum
    sum=a+b
fibonacci(8)<jupyter_output>Fibonacci Series,0,1,1,2,3,5,8,13,<jupyter_text>Exceptional Handling<jupyter_code>%%writefile check.txt
"Hello"
try:
  file=open("check.txt","r")
  file.write("you can't write.")
except Exception as itsokay:
  print("itsokay")

finally:
  file.close<jupyter_output>itsokay
{'fraction_non_alphanumeric': 0.15867768595041323, 'fraction_numerical': 0.024793388429752067, 'mean_word_length': 5.121212121212121, 'pattern_counts': {'":': 0, '<': 8, '<?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': '287985', 'license': 'Unlicense', 'n_tokens_mistral': 280, 'n_tokens_neox': 275, 'n_words': 41, 'path': 'Untitled6.ipynb', 'repo_name': 'Ayushi12345678912/letspgrade', 'size': '605'}