<jupyter_start><jupyter_text><jupyter_code>import math
 
pi = math.pi
 
class cone:
    
    def __init__(self,r,h): 
 
        self.r=r
        
        self.h=h
        
    def volume(self):
        
        result = (1 / 3) * pi * self.r * self.r * self.h
        
        print("\nVolume Of Cone is :",result)
        
    def surfacearea(self):
        
        result = (pi * self.r *self.r) + (pi *self.r* (self.r **2 +self.h **2)**0.5)
         
        print("\nSurface Area Of Cone is :",result)
 
r = float(input("\nEnter the radius of cone : "))
 
h = float(input("\nEnter the height of cone : "))
 
c = cone( r, h)
 
c.volume()
 
c.surfacearea()<jupyter_output>Enter the radius of cone : 5

Enter the height of cone : 5

Volume Of Cone is : 130.89969389957471

Surface Area Of Cone is : 189.611889793704
{'fraction_non_alphanumeric': 0.1346389228886169, 'fraction_numerical': 0.04895960832313342, 'mean_word_length': 1.9963369963369964, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '517519', 'license': 'Apache-2.0', 'n_tokens_mistral': 333, 'n_tokens_neox': 300, 'n_words': 82, 'path': 'Day6_question2.ipynb', 'repo_name': 'sssinghsimran7/let-supgrade-batch-7', 'size': '817'}