📜  python try except loop - Python代码示例

📅  最后修改于: 2022-03-11 14:45:11.113000             🧑  作者: Mango

代码示例1
while True :
  try:
    int(input())
  except :
    print("Not an integer")
  else :
    break