Also, I would use the fact that empty strings are False (or Falsy). This approach is similar to Apache's ... usrstr = str(input("Enter your string: ")).
確定! 回上一頁