我用Python3.4编写了一个BMI计算器,最后我想问用户是否愿意再次使用计算器,如果愿意,请返回代码的开头。到目前为止我已经知道了。欢迎任何帮助:-)#Asks if the user would like to use the calculator again
again =input("Thank you again for using this calculator, would you like to try again? Please type y for yes or n for no-")
while(again != "n") and (again != "y"):
again =input("Please type a valid response. Would you like to try again? Please type y for yes or n for no-")
if again == "n" :
print("Thank you, bye!")
elif again == "y" :
。。。。