【Python】SymPyを使って約数の個数をカウントする方法

【Python】約数の個数をカウントする方法です。

SymPyをインストールしておいて下さい。

pip install sympy

サンプルコードは以下の通りです。

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

コメントする

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

This site uses Akismet to reduce spam. Learn how your comment data is processed.