回答編集履歴
1
訂正
answer
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
- [https://docs.python.jp/3/library/fractions.html](https://docs.python.jp/3/library/fractions.html)
|
3
3
|
|
4
4
|
```python
|
5
|
-
$
|
5
|
+
$ python3
|
6
6
|
>>> from fractions import Fraction
|
7
7
|
>>> list = [1/3, 2/3]
|
8
8
|
>>> print(list[0])
|