<jupyter_start><jupyter_text>ASSIGNMENT 1<jupyter_code>class Bank_Account(): 
    def __init__(self): 
        self.balance=0
        print("Hello!!! Welcome to the Deposit & Withdrawal Machine") 
    def deposit(self): 
        amount=float(input("Enter amount to be Deposited: ")) 
        self.balance += amount 
        print("\n Amount Deposited:",amount) 
    def withdraw(self): 
        amount = float(input("Enter amount to be Withdrawn: ")) 
        if self.balance>=amount: 
            self.balance-=amount 
            print("\n You Withdrew:", amount) 
        else: 
            print("\n Insufficient balance  ") 
    def display(self): 
        print("\n Net Available Balance=",self.balance)

s = Bank_Account()
s.deposit()
s.withdraw()
s.display()<jupyter_output>Hello!!! Welcome to the Deposit & Withdrawal Machine
Enter amount to be Deposited: 5000

 Amount Deposited: 5000.0
Enter amount to be Withdrawn: 7000

 Insufficient balance  

 Net Available Balance= 5000.0<jupyter_text>ASSIGNMENT 2<jupyter_code>import math
class cone():
 def __init__(self,radius,height):
      self.radius = radius
      self.height = height

 def volume(self,radius,height):
     return math.pi * radius * radius * (height/3) 

 def SurfaceArea(self,radius,height):
      return math.pi * radius * radius + math.pi * radius * math.sqrt(radius*radius + height*height)


r=int(input("Enter the RADIUS : "))
h=int(input("Enter the HEIGHT : "))
obj=cone(r,h)
print("Volume of cone = ",obj.volume(r,h)) 
print("Surface area of cone = ",obj.SurfaceArea(r,h))<jupyter_output>Enter the RADIUS : 5
Enter the HEIGHT : 6
Volume of cone =  157.07963267948966
Surface area of cone =  201.22293136239688
{'fraction_non_alphanumeric': 0.12004730928444707, 'fraction_numerical': 0.03429923122412774, 'mean_word_length': 3.4643799472295513, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '375527', 'license': 'Apache-2.0', 'n_tokens_mistral': 600, 'n_tokens_neox': 526, 'n_words': 141, 'path': 'DAY_6_ASSIGNMENT.ipynb', 'repo_name': 'dileepchandhra/Letsupgrade-python', 'size': '1691'}