title: Pounds and Ounces in Python
body: <p>I just started to learn coding and I'm having an issue trying to get the pounds converted over to ounces. We're suppose to allow the user to input their data like 6 pounds 2 ounces. I'm stuck at the moment and I'm not even sure if I'm going about this right. Any help would be appreciated. </p>
  
  <p>Your program will accept as input the weights in pounds and ounces for a set of rabbits fed with one type of food. Let the user provide the name of food. Accept input until the user types a zero weight. Make life easier by converting weights to ounces. Compute the arithmetic mean (average) of each set of rabbits. Determine which set of rabbits weighs the most, reporting their average weight. </p>
  
  <p>This was my orignal code before using pounds and ounces and it worked fine using simple number like 13.</p>
  
  <pre><code>f1 = input("Name of Food:")
  
  print (f1)
  
  counter = 0
  sum = 0
  
  question = input('''Enter a weight? Type "Yes" or "No" \n\n''')
  
  while question == "Yes" :
      ent_num = int(input("Weight of Rabbit:"))
      sum = sum + ent_num
      counter = counter + 1
      question = input('''Enter another weight? Type "Yes" or "No". \n ''')
  
  print ("Average weight " + str(sum/counter))
  </code></pre>
  
  <p>My current code looks like this after I tried to implement pounds and ounces into the input.</p>
  
  <pre><code>f1 = input("Name of Food: ")
  print (f1)
  
  counter = 0
  sum = 0
  
  print ("Please enter inforamtion in pounds and ounces. End")
  question = input('''Enter a weight? Type "Yes" or "No" \n\n''')
  
  while question == "Yes" :
      ent_num = int(input("Weight of Rabbit:"))
      sum = sum + ent_num
      counter = counter + 1
  if pounds * ounces == 0:
      allOunces = pounds * 16 + ounces
      sum = sum + allOunces
  
  print ("Average weight " + str(sum/counter))
  </code></pre>