<jupyter_start><jupyter_text>Methods & Functions  def Statements<jupyter_code>def name_of_the_function(arg1,arg2):
    '''
    This is help text about method
    '''
    print("inside the method")
    return arg1+arg2
def firstMethod():
    print('hello welcome to method')
firstMethod()
def methodParam(name):
    print('hello welcome '+name)
methodParam('mani')
def methodReturn(name):
    return name+' helo'
methodReturn('Mani')
name_of_the_function(5,4)
help(name_of_the_function)<jupyter_output>Help on function name_of_the_function in module __main__:

name_of_the_function(arg1, arg2)
    This is help text about method<jupyter_text>Example 1<jupyter_code>def greetingFunctions(name1,name2):
    print('Hello, Welcome ' +name1 + ' and ' + name2)
greetingFunctions('Mani','aarthi')
def addingFunctions(nam,nam2):
    print(nam + nam2)
addingFunctions(5,6)<jupyter_output>11<jupyter_text>check prime Numer<jupyter_code>def is_prime(num): 
    '''
    This method for finding prime number
    '''
    if num > 1:  
       for i in range(2,num):  
           if (num % i) == 0:
                return 'is not prime no'
               #break
       else:  
           return 'Is prime number'
print(is_prime(17))
print(is_prime(97))
print(is_prime(1))
help(is_prime)
def assess(num1,num2):
    if(num1%2==0 and num2%2==0):
        return num1 if num1<num2 else num2
    elif(num1%2!=0 and num2%2!=0):
        return num1 if num1>num2 else num2
    else:
        return 'Hibrid'
    
assess(4,5)
def animalCr(name):
    arr = name.split()
    if(arr[0][0] == arr[1][0]):
        print ('true')
    else:
        print ('false')
animalCr('rel rel')
def animalCr(nam1,nam2):
    if(nam1==30 or nam2==30):
        print ('true')
    elif(nam1 + nam2 == 30):
        print ('true')
    else:
        print('false')
animalCr(22,9)
def animalCr(name):
    chName = name[0].upper()
    print(chName+name[1:3]+name[3].upper()+name[4:])
animalCr('harish')
def animalCr(num):
    print("true") if (num%100)<10 or (num%100)>90 else print("false")
      
animalCr(102)
def animalCr(arr):
    for i in range(len(arr)):
        if(i < len(arr)-1):
            if((arr[i]==arr[i+1]) and arr[i] == 2):
                return 'true'
    else:
        return 'false'
    
animalCr([5,2,2,3])
def animalCr(prime):
    count = 0
    for num in range(1,prime+1):  
       if num > 1:  
           for i in range(2,num):  
               if (num % i) == 0:  
                   break
           else:  
               count=count+1
    else:
        print(count)
animalCr(100)
a=" ***"
a<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14401232190989605, 'fraction_numerical': 0.04043126684636118, 'mean_word_length': 2.8950524737631183, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 15, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '282368', 'license': 'MIT', 'n_tokens_mistral': 978, 'n_tokens_neox': 935, 'n_words': 212, 'path': 'Methods.ipynb', 'repo_name': 'ManihtraA/FCS_pythons', 'size': '2597'}