期末の追い込みで忙しいですね‥! ただようやく終わりが見えてきたので、そろそろプログラミング修行にちゃんと時間を避けそうです さて、最近作ったプログラムで、参考にさせていただいたコードの中で分からないものがあったので整理します。
def f(x: Union[int, str, List, Tuple]) -> None: if isinstance(x, (str, (int, tuple))): print(x[1]) results in error: Argument 2 to "isinstance" has incompatible type ...
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin NUMPY INSTALLED WITH PIP: Downloading/unpacking numpy from https://pypi.python.org/packages/source/n ...