Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我读了一个关于“在不使用任何 if-else 语句、分支或直接比较的情况下查找两个数字的最大值”的问题。使用错误处理很容易解决。
但我不确定 try/catch 或 try/except 是否被视为分支语句。你能帮我澄清一下吗?