回答編集履歴

1

2022/10/23 07:58

投稿

melian
melian

スコア19798

test CHANGED
@@ -1,4 +1,24 @@
1
1
  ```python
2
2
  >>> int(Keccak256, base=16)
3
3
  63617860826146585716647170275015064910675198957363091123453775924866420959215
4
+
5
+ >>> help(int)
6
+ class int(object)
7
+ | int([x]) -> integer
8
+ | int(x, base=10) -> integer
9
+ |
10
+ | Convert a number or string to an integer, or return 0 if no arguments
11
+ | are given. If x is a number, return x.__int__(). For floating point
12
+ | numbers, this truncates towards zero.
13
+ |
14
+ | If x is not a number or if base is given, then x must be a string,
15
+ | bytes, or bytearray instance representing an integer literal in the
16
+ | given base. The literal can be preceded by '+' or '-' and be surrounded
17
+ | by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
18
+ | Base 0 means to interpret the base from the string as an integer literal.
19
+ | >>> int('0b100', base=0)
20
+ | 4
21
+
22
+ :
4
23
  ```
24
+