it should look like:
Def answer_question( ):
question = aw_input(">")
answer = classify(question)
answerclass = answer["class_name"]
confidence = answer["confidence"]
if confidence < 70:
print "Sorry, I don't understand. I am an eco-chatbot, please can you ask me something to do with waste, food, energy, travel or fashion."
elif answerclass == "Waste":
print "Use glass jars. Use a bag for life. Bring your own cup. Compost your food waste. Use metal or bamboo straws. Avoid single-use food and drink containers."
elif answerclass == "Food":
print "Adopt a plant based diet. Buy unpackaged food where possible. Support local shops. Reduce the amount you waste. Buy organic produce. Check labels to make sure they meet credible standards."
elif answerclass == "Energy":
print "Set a goal to reduce consumption. Purchase energy A rated products. Turn technology off at the plug overnight. Use solar powered devices. Wash clothes at a low temperature. Use LED lights."
elif answerclass == "Water":
print "Shower instead of bathing. Drink from tap water instead of bottled water. Fix water leaks promptly. Only use the washing machine or dishwasher with a full load. Use a water can in the garden instead of a hose. Don’t waste water by leaving the tap on when you brush your teeth."
elif answerclass == "Travel":
print "Ride a bike for journeys you would normally drive. Live car free. Carpool with people you work with. Use an electric or hybrid powered vehicle. Use green buses and trams. If you need to purchase a car, make sure it has low emissions."
elif answerclass == "Fashion":
print "Shop less. Have a clothes swap party. Sell old clothes on eBay and Gumtree. Give old clothes to charity. Buy second-hand clothes. Fix tears with stitching or patch over holes."