python循环判断异常(异常处理) #循环只有在没有异常的情况下才会退出while True: try: x = input('Enter the first number:') y = input('Enter the second number:') value = x/y print 'x/y is ', value except python初探 2024-05-12 123 点赞 1 评论 186 浏览