2024-06-17 04:44:56 发布
网友
我是Python编程的初学者。我正在尝试使用Graham的扫描方法寻找凸壳的算法。然而,在伪代码中,有一个repeat ... until循环,我无法找到用Python编写它的方法。
repeat ... until
如何用Python编写一个repeat ... until循环?
REPEAT ... UNTIL cond
相当于
while True: ... if cond: break
相当于
相关问题 更多 >
编程相关推荐