These implementations are for demonstration purposes. They are less efficient than the implementations in the Python standard library.
# Note: it's worth checking if the user has made a valid choice before the next line of code. # If the user typed somthing other than 0, 1 or 2 the next line will ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果