リンク先↓のnotebookを参考に、chatGPTが書きました。 前回のブログ記事では、whileループを使ってアラビア数字をローマ数字に変換する方法を紹介しました。今回は、このコードをさらに工夫して、引き算を割り算に変えて効率よくローマ数字を生成する方法 ...
One of the built-in functions of Python is divmod, which takes two arguments a and b and returns a tuple containing the quotient of a/b first and then the remainder a. Read in two integers, a and b, ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する