title: how to fix my phonebook code?
body: <p>I am making a phonebook code that can add, delete specific phonenumbers, init the phonebook and print everything in the phonebook. </p>
  
  <pre><code>class contact:
  name=""
  number=""
  def print_n(self):
      print("name : ", self.name)
      print("number : ",self.number)
  def add():            #This is supposed to add names and numbers to contact
  name = input("Name: ")
  number = input("Number: ")
  def init():          #This is supposed to initalize contact
   del contact
  def s_delete():    #This is supposed to delete a phonenumber by typing in the person's name
  s=input("name: ")
  ss=input("number: ")
  with contact:
      del s
      del ss
  def print_all():    #This is supposed to print every phonenumber in the phonebook
  print (contact)
  </code></pre>
  
  <p>that's how much I have gone so far. Is there something wrong in my code? Because it doesn't print the phonebook and doesn't add or delete any phone numbers. </p>